This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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] | |
Cedomir Segulja wrote: > Hi, > > I'm trying to build gcj 3.4.4 cross compiler for spar-linux platform. > I'm using prexisted glibc (2.3.2) and binutils 2.16.1. Kernel headers > are 2.6.21.1. > > My configure command is: > > ../gcc-3.4.4/configure --target=sparc-linux --with-gnu-as --with-gnu-ld > --verbose --prefix=... --enable-threads=posix > --enable-languages=c,c++,java --enable-multilib --enable-shared > --disable-nls --with-headers=... --with-libs=... > > While building libjava I got 2 errors: > 1) Not defined __NR_sigaction, which I've fixed finding the > __NR_sigaction in asm/unistd.h and defining manually > 2) htons, ntohs problem in java/net which I've "fixed" redefining htons > i ntohs to "" (I wont be using net package) > > When I try to build hello world java application with -static flag I > get warning saying that "...requires at runtime the shared libraries > from the glibc version used for linking". Dynamic linkage goes without > warning. > Execution in both cases (static&dynamic) ends up with : > "pid X: failed 11". After you've finished the build, run: make check-target-libjava Then tell us what happens. Andrew.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |