This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Successful build of gcc 3.0.4 arm-elf on Cygwin 1.3.10


Hi.

I successfully built GCC 3.0.4 for arm-elf target
on Cygwin 1.3.10 (Win2k).


config.guess output:
    i686-pc-cygwin


gcc -v output:
    Reading specs from /tools/H-i686-pc-cygwin/lib/gcc-lib/arm-elf/3.0.4/specs
    Configured with: /src/gcc/gcc-3.0.4/configure --target=arm-elf --prefix=/tools \
    --exec-prefix=/tools/H-i686-pc-cygwin --with-gnu-as --with-gnu-ld --with-newlib --enable-languages=c,c++ -v
    Thread model: single
    gcc version 3.0.4


uname -a output:
    CYGWIN_NT-5.0 xxxxxx 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown


I had problems making libstdc++-v3 since newlib was missing
and make all-target-libiberty (called by make all-target-libstdc++-v3)
failed.

I solved it copying newlib to gccsrcdir and doing some adjustments.
The exact sequence of actions is the following:

cp newlib-1.10.0.tar.gz gccsrcdir
cd gccsrcdir
gzip -cd newlib-1.1.10.tar.gz | tar xfv -
cd newlib-1.10.0
mv newlib ..

cd gccbuilddir
gccsrcdir/configure [options]
gccsrcdir/make all-gcc
gccsrcdir/make install-gcc
make all-target-newlib
make install-target-newlib
make all-target-libstdc++-v3
make install-target-libstdc++-v3


Regards,
Alberto Perotti

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]