This is the mail archive of the crossgcc@sourceware.org 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] |
On Monday 05 June 2006 11:41, NZG wrote: > > copy all the glibc libs from your target (including ld-linux.so) > > and link with: > > gcc-3.4.3-glibc-2.3.2/i386-unknown-linux-gnu/bin/i386-unknown-linux-gnu-g > >cc -Blib/dynamic/ (make sure you have the same libs/links in lib/dynamic/ > > as you would in /lib/ and /usr/lib/ on the target ... dont go renaming > > things like 'libc-2.3.2.so' and try to link with '-lc-2.3.2' > > Done, but I'm getting the same error. > make -k all > ../..//gcc-4.0.0-glibc-2.3.2/i386-unknown-linux-gnu/bin/i386-unknown-linux- >gnu-gcc -I../..//include -g -c hello.c > ../..//gcc-4.0.0-glibc-2.3.2/i386-unknown-linux-gnu/bin/i386-unknown-linux- >gnu-gcc *.o -Wl -B../..//lib/dynamic/ -o hello -lc > ../..//lib/dynamic/libc.so.6: undefined reference to > `_dl_tls_symaddr@GLIBC_PRIVATE' run with '-v' and '-Wl,--verbose' to make sure you are only linking against the local stuff -mike
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |