cross x86->mips (again)
Kazu Hirata
kazu@hxi.com
Thu Apr 12 07:09:00 GMT 2001
Hi Per,
> Could you elaborate a bit?
The following is what I do for h8300-hms. Note that I have a symlink to
newlib under gcc-2.95.3 and --with=newlib in configure options.
tar xfz gcc-2.95.3.tar.gz
tar xfz newlib-1.9.0.tar.gz
cd gcc-2.95.3
ln -s ../newlib-1.9.0/newlib .
patch -p1 < ../h8300-hms-gcc-2.95.3-1.patch
mkdir objdir
cd objdir
../configure \
--prefix=/usr/local --target=h8300-hms \
--enable-languages="c,c++" --with-newlib
gmake all
gmake install
> I've been trying to build newlib-1.8.2 but it looks like I
> need the cross
> compiler to do so. Isn't newlib supposed to be installed *after* the
> cross compiler?
To me, it is easier to do at the same time.
Kazu Hirata
More information about the Gcc
mailing list