[uClibc]How to make a v850(e)-elf cross compiler from the gcc3.2-uclibc-toolchain
Anders Boegild
sredna at mip.sdu.dk
Wed Dec 11 00:58:03 UTC 2002
Sorry, I should have been more specific about what I'm doing.. so here
comes the story:
I'm running RedHat 7.3, kernel 2.4.18-3, gcc 2.96 and can login as root.
I would like to make standalone c programs for the v850(e)-elf target (
not running uClinux or anything ) and be able to #include<math.h> and
#include<stdio.h> ..etc.
What I have so far is a semi-working cross compiler based on
binutils-2.13
(compiled with 'configure --target=v850e-elf
--prefix=/home/DarkWing/v850e' and then 'make instal' )
gcc-20021202 snapshot (gcc 3.3 beta for v850e support, gcc 3.2.1 only
supports plain v850, or am I wrong?)
( first 'export PATH=/home/DarkWing/v850e/bin:$PATH' then compiled with
'configure --target=v850e-elf --prefix=/home/DarkWing/v850e
--enable-languages=c,c++' and then 'make install')
..but no runtimelib ( so i can only invoke gcc with the -c or -S option
(no linking) )
I would like uClibc as runtimelib, so i thought the easiest way was to
grab the 'gcc-3.2-uclibc-20020916.src.tar.gz'-file from kernel.org
-but that fails because of a small bug in the Makefile (
uClibc-xxx/extra/Configs/uClibc_config_fix.pl has been deleted from the
tree but not from the Makefile )
I'm not very sharp at all this so i would be very greatful if somebody
would write write down sort of a "step-by-step" instruction on how to
compile uClibc as a wrapper, or what to fix in the toolchain to make it
work. -Or point me to where I can read about it ( I havn't been able to
find much on the subject)
Regards
Anders, denmark
More information about the uClibc
mailing list