Trying to build for armeb-unknown-linux-uclibcgnueabi

razor950 razor950@gmail.com
Tue Oct 20 22:31:00 GMT 2009


razor950@toolchain:~/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/gcc$
./xgcc -v -x c /dev/null
Using built-in specs.
Target: armeb-unknown-linux-uclibcgnueabi
Configured with:
/home/razor950/toolchain3/targets/src/gcc-4.2.0/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=armeb-unknown-linux-uclibcgnueabi
--prefix=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi
--with-sysroot=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi//sys-root
--enable-languages=c,c++ --disable-multilib --with-arch=armv6j
--with-cpu=arm1136j-s --with-tune=arm1136j-s --with-fpu=vfp
--with-float=soft --disable-sjlj-exceptions --enable-__cxa_atexit
--with-gmp=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi
--with-mpfr=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi
--with-local-prefix=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi//sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
Thread model: posix
gcc version 4.2.0
 cc1 -quiet -v -iprefix
/home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/gcc/../lib/gcc/armeb-unknown-linux-uclibcgnueabi/4.2.0/
/dev/null -quiet -dumpbase null -march=armv6j -mtune=arm1136j-s
-mfloat-abi=soft -mfpu=vfp -auxbase null -version -o /tmp/ccfskvZr.s
xgcc: error trying to exec 'cc1': execvp: No such file or directory


On Tue, Oct 20, 2009 at 5:34 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Tue, Oct 20, 2009 at 2:24 PM, razor950 <razor950@gmail.com> wrote:
>> this is xgcc
>> Using built-in specs.
>> Target: armeb-unknown-linux-uclibcgnueabi
>> Configured with:
>> /home/razor950/toolchain3/targets/src/gcc-4.2.0/configure
>> --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
>> --target=armeb-unknown-linux-uclibcgnueabi
>> --prefix=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi
>> --with-sysroot=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi//sys-root
>> --enable-languages=c,c++ --disable-multilib --with-arch=armv6j
>> --with-cpu=arm1136j-s --with-tune=arm1136j-s --with-fpu=vfp
>> --with-float=soft --disable-sjlj-exceptions --enable-__cxa_atexit
>> --with-gmp=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi
>> --with-mpfr=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi
>> --with-local-prefix=/home/razor950/sb6120dev2/armeb-unknown-linux-uclibcgnueabi/armeb-unknown-linux-uclibcgnueabi//sys-root
>> --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
>> --enable-long-long --enable-target-optspace
>> Thread model: posix
>> gcc version 4.2.0
>>  cc1 -quiet -v -iprefix
>> /home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/gcc/../lib/gcc/armeb-unknown-linux-uclibcgnueabi/4.2.
>>
>
> you did not paste full output.
> secondly try to determine what is the linkers default endianness.
>
>> On Tue, Oct 20, 2009 at 3:25 PM, Khem Raj <raj.khem@gmail.com> wrote:
>>> On Tue, Oct 20, 2009 at 9:02 AM, razor950 <razor950@gmail.com> wrote:
>>>> Maybe I am missing some uclibc includes and libs that gcc can't find
>>>> and thats why linking is failing?
>>>>
>>>> On Tue, Oct 20, 2009 at 10:24 AM, razor950 <razor950@gmail.com> wrote:
>>>>> http://www.sendspace.com/file/d931he
>>>>>
>>>>> That's the build.log incase you might be able to get more of an idea
>>>>> from it, I know that the libuClibc-0.9.29.so looks good, but why do I
>>>>> get that error ?
>>>>>
>>>>> On Tue, Oct 20, 2009 at 10:10 AM, Marc Kleine-Budde <mkl@pengutronix.de> wrote:
>>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> Hash: SHA1
>>>>>>
>>>>>> Hey razor,
>>>>>>
>>>>>> please keep the list on CC,
>>>>>>
>>>>>> razor950 wrote:
>>>>>>> file libc.so.0
>>>>>>> libc.so.0: symbolic link to `libuClibc-0.9.29.so'
>>>>>>>
>>>>>>> file libuClibc-0.9.29.so
>>>>>>> libuClibc-0.9.29.so: ELF 32-bit MSB shared object, ARM, version 1
>>>>>>> (SYSV), dynamically linked (uses shared libs), not stripped
>>>>>>
>>>
>>>
>>> Make sure that by default xgcc is generating big-endian objects and
>>> also is passing correct commands to linker
>>> to instruct it to link in big endian mode.
>>>
>>> Post output of
>>> home/razor950/toolchain3/targets/armeb-unknown-linux-uclibcgnueabi/build/build-cc/./gcc/xgcc
>>> -v -x c /dev/null
>>>
>>>
>>>>>> looks good.
>>>>>>
>>>>>> Marc
>>>>>> - --
>>>>>> Pengutronix e.K.                         | Marc Kleine-Budde           |
>>>>>> Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
>>>>>> Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
>>>>>> Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |
>>>>>> -----BEGIN PGP SIGNATURE-----
>>>>>> Version: GnuPG v1.4.9 (GNU/Linux)
>>>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>>>>
>>>>>> iEYEARECAAYFAkrdxMkACgkQjTAFq1RaXHMfkACeOLxfOA/00myhtoeHUQKFXpTc
>>>>>> vLcAn0ZtD/FAntevMMmdfAZYQKyxcCRT
>>>>>> =2qKp
>>>>>> -----END PGP SIGNATURE-----
>>>>>>
>>>>>
>>>>
>>>> --
>>>> For unsubscribe information see http://sourceware.org/lists.html#faq
>>>>
>>>>
>>>
>>
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list