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] |
Hi, I have built a toolchain using the crosstool-0.43 on an i686 host for an i386 target. I have succeeded building it using gcc-3.4.3-glibc-2.3.4.dat, but I?m not sure that the linker is using the correct search path. I have the crosstool chain installed in /opt/crosstool/gcc-3.4.3-glibc-2.3.4 and when doing i386-pc-linux-gnu-ld ?verbose then it reports three search dirs as follows: SEARCH_DIR(=/usr/local/lib), SEARCH_DIR(=/usr/lib), SEARCH_DIR(=/lib) These paths look to reference the libraries on the host system and not the toolchain libraries. Also when trying to build a dummy.c file which includes: main(){} and afterwards doing a i386-pc-linux-gnu-readelf it reports: ??????????? Requesting program interpreter: ??????????? /lib/ld-linux.so.2 I would have expected to see something like in /opt/crosstool/gcc-3.4.3-glibc-2.3.4/ gcc-3.4.3-glibc-2.3.4/lib/ld-linux.so.2 Have anybody any idea of where I?m going wrong? Thanks Thomas Olsen -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |