You are not logged in.

#1 2008-09-28 17:02:11

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Building GCC?

Has anyone here ever tried compiling a processor-specific build of GCC?  If so, does it perform any better and is it worth it?

Offline

#2 2008-09-28 17:29:05

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,675

Re: Building GCC?

Falcata wrote:

Has anyone here ever tried compiling a processor-specific build of GCC?  If so, does it perform any better and is it worth it?

Compiling a compiler. Oh yeah baby.


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#3 2008-09-28 17:45:36

voteforpedro36
Member
Registered: 2008-08-06
Posts: 99

Re: Building GCC?

moljac024 wrote:
Falcata wrote:

Has anyone here ever tried compiling a processor-specific build of GCC?  If so, does it perform any better and is it worth it?

Compiling a compiler. Oh yeah baby.

Lol, talk about a nerdgasm.

Offline

#4 2008-09-28 21:09:07

ezzetabi
Member
Registered: 2006-08-27
Posts: 905

Re: Building GCC?

Did you ever seen the gcc bootstrap? It is pretty interesting, (by memory) it goes like that:
System's gcc compiles gcc.
Compilated gcc compiles gcc.
The second gcc compiles gcc.
If the last two copies are identical all is fine and one is installed.

Offline

#5 2008-09-28 21:16:11

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: Building GCC?

ezzetabi wrote:

Did you ever seen the gcc bootstrap? It is pretty interesting, (by memory) it goes like that:
System's gcc compiles gcc.
Compilated gcc compiles gcc.
The second gcc compiles gcc.
If the last two copies are identical all is fine and one is installed.

Java does stuff like that too. For a while, Iced Tea (OpenJdk) required the "release" version right before it to compile, which in turn required the one right before that, etc.

Offline

#6 2008-09-28 23:49:54

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Building GCC?

Falcata wrote:

Has anyone here ever tried compiling a processor-specific build of GCC?  If so, does it perform any better and is it worth it?

Yes, maybe and probably not (or maybe if you are compiling a lot of things...).

Offline

#7 2008-09-29 02:45:42

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Building GCC?

Okay, thanks Allan.

Last edited by Falcata (2008-09-29 03:08:43)

Offline

Board footer

Powered by FluxBB