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 Tue, 29 Feb 2000, Paul Andrews wrote: > what option can I pass to configure (or make?) to only build > one set of libraries for our target? In my case I am building "configure --enable-multilib=no" This option will override the "INSTALL_MULTILIB = install-multilib" macro/variable in the ".../m68k/t-m68kbare" source file. > with --target=m68k-coff and only require the m68000 libs , I Gotcha: m68k-gcc defaults to mc68020. If you disable multilib then Make will build libs only for the default target which, incidently and as stated above, is 68020. The m68-*-* configuration of GCC does not accept the "--with-CPU" option some of the newer ports accept. All in all, the m68k port has the "don't touch, it might break" attitude towards it. It is possibely also the most complex of the ports. Thus, if you intend to change the default target CPU you will have to do so manually in the "m68k.h" header file. More precisely you will have to move the '68000' entry to the top of the TARGET_SWITCHES structure: #define TARGET_SWITCHES {{ "68000",........ The top entry will be placed into the "TARGET_CPU_DEFAULT" macro/variable when building cross-gcc. And yes, I know this leaves alot to be desired whren it comes to command line control of the build process. Newer ports are better. -- ****************************************************** Never ever underestimate the power of human stupidity. -Robert Anson Heinlein GeirFRS@invalid.and.so.forth ****************************************************** ------ 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] |