This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: cross x86->mips (again)
- To: 'Per Fransson' <dat98pfr at ludat dot lth dot se>, gcc at gcc dot gnu dot org
- Subject: RE: cross x86->mips (again)
- From: Kazu Hirata <kazu at hxi dot com>
- Date: Thu, 12 Apr 2001 10:06:01 -0400
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