On 27/06/12 17:49, Ilija Kocho wrote: > On 27.06.2012 18:38, Stanislav Meduna wrote: >> On 27.06.2012 18:22, David Fernandez wrote: >> >>>> 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? >> FWIW I do not remember such problems - I am compiling for an ARM9 >> and a thumb2 with the same toolchain and it works. I did not test >> 4.6.3 specifically, but it worked for 4.5.something compiled >> under MinGW (although with other problems) and works for 4.7 >> canadian cross (built on linux targeting MinGW and compiling >> for eCos). >> >> As far as I remember the abovementioned patch only tweaks what >> multilibs from the zillion possible actually get build. > Correct, eCos' patch instructs GCC builder what libs (i.e. for which > targets) are of interest for eCos. > > Ilija. > Then, is it usually necessary to patch gcc or prepare its source files in a special way (other than just using the configure command) to get the C libraries compiled for several architectures, cpus, and modes?
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss