libgcc libraries

Gary Partis gary@partis.co.uk
Sun Oct 14 19:17:00 GMT 2012


Hi

When compiling GCC I always specify "--all-target-libgcc" when building 
libgcc.

For x86 I end up with one library (which I have never had problems with) and 
680x0 targets I end up with many libraries for each 68K variant. This is 
great as I can use the appropiate library and can optionally use the base 
68000 version as the "lowest common denominator".

On ARM targets, I only get one libgcc library, which contains instructions 
which can't be executed on ARMv2 (ie. ARM2, ARM3 and ARM250) such as "BX" 
etc.

Is there a method of specifying ARMv2 when compiling the library?

Thanks in advance

Gary Partis
 



More information about the Gcc-help mailing list