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: Crosstool error 'invalid option abi=32' building mips (fwd)


Greg Chandler wrote:
I also got this working using the gcc 3.4.1 and glibc 2.3.2.
But it built a compiler that generates 32-bit ELFs.
Is there a flag that I can add to a file to make a 64-bit compiler?

I was looking through the scripts, and can't find out even where x86-64
builds for 64 bit vs 32...  I know when I make binutils from scratch I
need to send a flag, but I'm noting seeing it.   Maybe I am looking too
hard?

To build a 64 bit compiler, you change the target name. e.g. x86_64 instead of i686, powerpc64 instead of powerpc, and ... mips64 instead of mips. Compare powerpc-750.dat to powerpc-970.dat in crosstool, say. - Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
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]