This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Compiling CygWin ARM GCC and GCJ cross compiler
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: <java at gcc dot gnu dot org>
- Date: Mon, 28 Apr 2003 14:57:56 +0200
- Subject: Compiling CygWin ARM GCC and GCJ cross compiler
To be a bit more precise on my last posting:
On the step referred to as "Building a bootstrap cross compiler", I'm using:
../gcc/configure --target=$TARGET --prefix=$PREFIX --with-gnu-as --with-gnu-ld --disable-shared --with-headers=../newlib-1.11.0/newlib/libc/include --enable-languages=c
On the step referred to as "Building a complete cross compiler", I'm using:
../gcc/configure --target=$TARGET --prefix=$PREFIX --with-gnu-as --with-gnu-ld --with-newlib=yes --with-headers=../newlib-1.11.0/newlib/libc/include --enable-languages=c,c++,java
Is this correct?
The addition of the --with-newlib=yes is the latest thing I'm trying since I hope that should fix the NO_GETUID #undef problem. After som rummaging around I discovered that the configure procedure had created a build-gcc/arm-elf/libjava/include/config.h which contained #define NO_GETUID 1
http://billgatliff.com/articles/gnu/gnu-arm7t.html/index.html
Øyvind