Welcome to Dream.In.Code
Become an Expert!

Join 149,596 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,875 people online right now. Registration is fast and FREE... Join Now!




GCC 4.2.2 Released

 
Reply to this topicStart new topic

GCC 4.2.2 Released

skyhawk133
12 Oct, 2007 - 05:25 AM
Post #1

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 15,262



Thanked: 61 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions

GNU Compiler Collection 4.2.2 has been released. GCC is a portable compiler system including front-ends for C, C++, Java, Objective-C, Objective-C++, Fortran and Ada, and supporting a variety of target platforms.




This release includes bug fixes.


[img]http://xfruits.com/skyhawk133/?id=24877&s_item=143830339[/img]


From: http://xfruits.com/skyhawk133/?id=24877&am...0-12-06-30.html
User is offlineProfile CardPM
+Quote Post

Louisda16th
RE: GCC 4.2.2 Released
12 Oct, 2007 - 05:28 AM
Post #2

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
Just a small question. Im kinda new as far as using GCC is concerned. How do you use the latest editions? There are no binaries available and MinGW and Cygwin use earlier versions in their packages.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: GCC 4.2.2 Released
12 Oct, 2007 - 06:21 AM
Post #3

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 7,133



Thanked: 76 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(Louisda16th @ 12 Oct, 2007 - 06:28 AM) *

Just a small question. Im kinda new as far as using GCC is concerned. How do you use the latest editions? There are no binaries available and MinGW and Cygwin use earlier versions in their packages.

There are steps to updating gcc, since you'll have to download the source & compile the new binary executable.

When you download the newest version it should come with a README/howto, or some list of requirements to upgrade.
User is online!Profile CardPM
+Quote Post

Louisda16th
RE: GCC 4.2.2 Released
12 Oct, 2007 - 06:25 AM
Post #4

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
Yeah I tried building on MSYS and Cygwin. But it shows some build error. The configure part works well. After that Im not exactly sure what to do. The instructions are kinda confusing to me crazy.gif.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: GCC 4.2.2 Released
12 Oct, 2007 - 06:27 AM
Post #5

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 7,133



Thanked: 76 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(Louisda16th @ 12 Oct, 2007 - 07:25 AM) *

... But it shows some build error. ...

What error does it give you?
User is online!Profile CardPM
+Quote Post

Louisda16th
RE: GCC 4.2.2 Released
12 Oct, 2007 - 07:18 AM
Post #6

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
I use configure and everything runs smoothly. After that I type 'make' and I get the following messages:
QUOTE

[ -f stage_final ] || echo stage3 > stage_final
/bin/sh: test: too many arguments
/home/Ashwith: /home/Ashwith: No such file or directory
make[1]: Entering directory `/home/Ashwith Angela Rego/obj'
make[2]: Entering directory `/home/Ashwith Angela Rego/obj'
make[3]: Entering directory `/home/Ashwith Angela Rego/obj'
rm -f stage_current
make[3]: Leaving directory `/home/Ashwith Angela Rego/obj'
make[2]: Leaving directory `/home/Ashwith Angela Rego/obj'
make[2]: Entering directory `/home/Ashwith Angela Rego/obj'
Configuring stage 1 in ./intl
/home/Ashwith: /home/Ashwith: No such file or directory
make[2]: *** [configure-stage1-intl] Error 127
make[2]: Leaving directory `/home/Ashwith Angela Rego/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/Ashwith Angela Rego/obj'
make: *** [all] Error 2

I tried this on MSys.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: GCC 4.2.2 Released
12 Oct, 2007 - 07:22 AM
Post #7

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 7,133



Thanked: 76 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
Try putting it into a directory without spaces in it. Or put quotes around anything that tries to use the directory. Take a look at the error messages:

It's trying to enter here -> /home/Ashwith Angela Rego/obj

But you're getting this
QUOTE

bin/sh: test: too many arguments
/home/Ashwith: /home/Ashwith: No such file or directory


1.) Too many arguments, because "Angela" & "Rego/obj" are being sent as arguments due to the spaces (the shell delimits a command & arguments by a space)
2.) /home/Ashwith no such directory....... cuz there isn't one, you have /home/Ashwith Angela Rego
User is online!Profile CardPM
+Quote Post

Louisda16th
RE: GCC 4.2.2 Released
12 Oct, 2007 - 07:28 AM
Post #8

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
Mmm. Yeah makes sense. Im trying this right now. Now errors yet.

P.S. I hope you're not wondering about that weird folder name tongue.gif.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: GCC 4.2.2 Released
12 Oct, 2007 - 07:30 AM
Post #9

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 7,133



Thanked: 76 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(Louisda16th @ 12 Oct, 2007 - 08:28 AM) *

P.S. I hope you're not wondering about that weird folder name tongue.gif.

No, I'm just wondering why MS has the desire to dumb down the OS so that it doesn't know the differance between a space & not a space, between capital A & lower case a.

It makes no sense... (sorry, it's a personal issue with a friend of mine)
User is online!Profile CardPM
+Quote Post

Louisda16th
RE: GCC 4.2.2 Released
12 Oct, 2007 - 07:39 AM
Post #10

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
Now Im getting this error:
QUOTE

configure: creating ./config.status
config.status: creating Makefile
0 [main] sh 496 fork_copy: user/cygwin data pass 4 failed, 0x710A5000..0x710A876C, done 1716, windows pid 3528, Win32 error 5
./config.status: fork: Resource temporarily unavailable
make[2]: *** [configure-build-fixincludes] Error 1
make[2]: Leaving directory `/home/obj'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/obj'
make: *** [all] Error 2

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 11:28PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month