On Wed, Jun 27, 2012 at 1:08 PM, Ilija Kocho <ili...@siva.com.mk> wrote: >> Do you know anything on the multilib question? My experience is that, >> if you don't set the default cpu and mode appropriately, gcc will >> compile newlib's crt0.S using the wrong default options, and you end >> up with a crt0.o with ARM32 code where you would expect thumb or >> thumb-2... I don't know if the gcc-4.6.3 sources have this problem, >> but surely the gcc-4.7.1 has it, unless you know of some other >> configuration option that makes this work fine. >> > > You will find multilibs for all architectures of interest for eCos under > gnutools/arm-eabi/lib/gcc/arm-eabi/4.6.3/ directory. This multilib > configuration is produced by gcc-4.6.3-ecos-120524_t-arm-elf.diff. > >
Ilija, are you then saying that gcc does not do it right as-is, and we need to patch it? Does this happen only with newlib, or does it happen also with the standard libraries? -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss