This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is gcc 2.95 or 3 faster for M68K app?


Dan Kegel wrote:

Toralf Lund wrote:

I have an app that needs to run faster on an old M68k board... It is currently built using gcc 2.95.3, so I'm wondering if upgrading to gcc version 3 would have any real benefit in terms of speed.


Probably not. Version 4 might, though, especially version 4.1.

Too bad...


Maybe I'll have to go back to the old setup, then ;-(

This is a bit depressing... I've been using a compiler from Microware released some 20 years ago, and generates binaries that are about half the size of the gcc ones, and even without optimisation are faster than gcc -02 output... It's only running on a (different) Motorola board, though, which is why I'd prefer using a gcc cross compiler setup


The reason why I'm asking instead of just trying is that I wasn't able to build gcc 3.4.2 directly. Got a strage recursion in the configure calls...


Did you try using http://kegel.com/crosstool to build a cross-compiler?
That seems to work...

Dan Kegel wrote:

The reason why I'm asking instead of just trying is that I wasn't able to build gcc 3.4.2 directly. Got a strage recursion in the configure calls...



Did you try using http://kegel.com/crosstool to build a cross-compiler? That seems to work...


Oh, sorry, you're using newlib. I don't handle that yet.

OK. I also want to generate rpms (do you support that?), so I've written my own a spec file, but it has borrowed a lot from Bill Gatliff's build-crossgcc.sh


Actually, gcc 3.3.3 did work all right, but I'm not actually able to generate the application with it (yet.)

- Toralf



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]