This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.3.3 target:arm-linux host:cygwin elf-init.c linker error


Jean Olivier Caron wrote:
target  = arm-linux -> aiming at development on the IPAQh5450
host = cygwin version
$ uname -rv
1.5.10(0.116/4/2) 2004-05-25 22:07
kernel headers = 2.4.19-rmk6-pxa1-hh36

After many trials with different combinations of binutils/glibc/gcc I successfully compiled :
->binutils 2.14 for arm-linux
$ arm-linux-ld -version
GNU ld version 2.14 20030612
-> glibc 2.3.3 headers in order to compile gcc for arm-linux
-> arm-linux-gcc 3.4.2
$ arm-linux-gcc -v
Reading specs from /gnutools/lib/gcc/arm-linux/3.4.2/specs
Configured with: /src/gcc-3.4.2/configure --target=arm-linux --prefix=/gnutools
--disable-shared --with-header=/gnutools/arm-linux/include --with-newlib --enabl
e-languages=c
Thread model: posix
gcc version 3.4.2


However, I am now trying to compile glibc once more using the cross-compiler arm-linux-gcc
and I get this error at the linker.

Hmm. I wonder if it might not be the case-insenstive nature of the filesystem. Crosstool has a patch to help with that; it's at http://kegel.com/crosstool/crosstool-0.28-rc37/patches/glibc-2.3.3/glibc-2.3.3-cygwin.patch but the error I got without it was different, so perhaps this is something you'd run into later.

Hey, can you try using crosstool to build your toolchain?  Who
knows, maybe one of the other patches it uses (or how it configures
the tools) might fix your problem.
- Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]