03/07/2012 10:06 PM
post91965
|
Hi,
I have some code I compiled and linked successfully with QNX6.4. Now I am trying to build the same code on QNX6.3.0
in the same environment. For some reason ld is trying to look for crti.o in /opt/qnx630 (my installation is someplace
else). I am passing in the correct paths for the libraries and it finds everything else in the right place. What am I
missing?
Thanks,
Vineet
configure:3237: found /volume/interop/qnx630/host/linux/x86/usr/bin/powerpc-unknown-nto-qnx6.3.0-gcc
configure:3248: result: powerpc-unknown-nto-qnx6.3.0-gcc
configure:3517: checking for C compiler version
configure:3526: powerpc-unknown-nto-qnx6.3.0-gcc --version >&5
powerpc-unknown-nto-qnx6.3.0-gcc (GCC) 3.3.1 (qnx-nto)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3537: $? = 0
configure:3526: powerpc-unknown-nto-qnx6.3.0-gcc -v >&5
Reading specs from /volume/interop/qnx630/host/linux/x86/usr/lib/gcc-lib/powerpc-unknown-nto-qnx6.3.0/3.3.1/specs
Configured with: ../configure --srcdir=.. --enable-cheaders=c --with-gnu-as --with-gnu-ld --with-qnxsysroot=/opt/QNXsdk/target/qnx6 --target=powerpc-unknown-nto-qnx6.3.0 --srcdir=/home/toolsbuild/6.3.0SP1.125263901/cvs/tools/gcc/linux-x86-o-ntoppc/.. --prefix=/opt/QNXsdk/host/linux/x86/usr --exec-prefix=/opt/QNXsdk/host/linux/x86/usr --with-local-prefix=/opt/QNXsdk/host/linux/x86/usr --enable-haifa --enable-languages=c++ --enable-threads=posix --disable-nls --disable-shared --disable-multilib
Thread model: posix
gcc version 3.3.1 (qnx-nto)
configure:3537: $? = 0
configure:3526: powerpc-unknown-nto-qnx6.3.0-gcc -V >&5
powerpc-unknown-nto-qnx6.3.0-gcc: `-V' option must have argument
configure:3537: $? = 1
configure:3526: powerpc-unknown-nto-qnx6.3.0-gcc -qversion >&5
powerpc-unknown-nto-qnx6.3.0-gcc: unrecognized option `-qversion'
powerpc-unknown-nto-qnx6.3.0-gcc: no input files
configure:3537: $? = 1
configure:3557: checking whether the C compiler works
configure:3579: powerpc-unknown-nto-qnx6.3.0-gcc conftest.c >&5
/volume/interop/qnx630/host/linux/x86/usr/powerpc-unknown-nto-qnx6.3.0/bin/ld: cannot open /opt/qnx630/target/qnx6/ppcbe
/lib/crti.o: No such file or directory
collect2: ld returned 1 exit status
|
|
|