This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Sat, 1 Jan 2000, Frank Meurer wrote: > On Fri, 31 Dec 1999, Andy wrote: > > These things I had to do when I build the crosscompiler. Building the cross- > compiler didn't make so many trouble like "cross-native-compiling". > (Still don't know the right term. :-) > I believe that this is just a special case of what is known as a "Canadian cross". > > As for RTFM look for it in the to gcc directory eithther under install or > > INSTALL > I never heard of that file! ;-) > info gcc ? :) > Here's a list of simple commands like I used to crosscompile the native > compiler (without prefix etc.): > > cd ../gcc-2.7.2.3/ > make distclean > ./configure --with-gnu-ld --with-gnu-as --host=m68k-unknown-linux m68k-unknown-linux # output will be "Links are now set up to build a native compiler for m68k-unknown-linux" Here ^ Specifing m68k-unknown-linux here tells configure you are building on that type of host. That is not correct and you should let it guess that anyway. Also note that it is generally a good idea to build in a seperate tree from the source. GNU as and ld should be automatically detected so these options are not needed. Try: ./configure --host=m68k-unknown-linux --target=m68k-unknown-linux letting configure guess that build=i386-*-*. > > >I want to cross-compile a native compiler (is "cross-compiling" still the > > >right term?): > > > > > >build: i386-unknown-linux > > >host: m68k-unknown-linux > > >target: m68k-unknown-linux > > >gcc-version: 2.7.2.3 > > > You said it all right here. -- Brian Ford Software Engineer Vital Visual Simulation Systems FlightSafety International Phone: 314-551-8460 Fax: 314-551-8444 ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |