This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: libgcj/9019: Compiling included jar into dll fails
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 18 Feb 2003 21:16:01 -0000
- Subject: Re: libgcj/9019: Compiling included jar into dll fails
- Reply-to: Øyvind Harboe <oyvind dot harboe at zylin dot com>
The following reply was made to PR libgcj/9019; it has been noted by GNATS.
From: =?iso-8859-1?Q?=D8yvind_Harboe?= <oyvind.harboe@zylin.com>
To: <gcc-gnats@gcc.gnu.org>,
<java-prs@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<nobody@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>
Cc:
Subject: Re: libgcj/9019: Compiling included jar into dll fails
Date: Tue, 18 Feb 2003 22:04:48 +0100
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=3Dview%20audit-trail&database=3D=
gcc&pr=3D9019
I tried this gcj 3.3 and the error message is gone(replaced with a =
different one).
C:\temp>gcj -fjni -shared -o swt.dll modified_swt.jar
org/eclipse/swt/graphics/Image.java: In class =
`org.eclipse.swt.graphics.Image':
org/eclipse/swt/graphics/Image.java: In constructor =
`(org.eclipse.swt.graphics.D
... stuff deleted ....
c:\gcc-3.3\bin\..\lib\gcc-lib\mingw32\3.3\..\..\../libgcj.a(win32_threads=
.o)(.te
xt+0x82c):win32_threads.c: multiple definition of `DllMain@12'
c:\gcc-3.3\bin\..\lib\gcc-lib\mingw32\3.3\..\..\..\..\mingw32\lib/libming=
w32.a(d
llmain.o)(.text+0x0):dllmain.c: first defined here
C:\temp>gcj -v
Reading specs from c:\gcc-3.3\bin\..\lib\gcc-lib\mingw32\3.3\specs
Reading specs from =
c:\gcc-3.3\bin\..\lib\gcc-lib\mingw32\3.3\..\..\..\libgcj.spe
c
rename spec lib to liborig
Configured with: /datal/gcc/gcc/configure =
--prefix=3D/datal/gcc/w32gcc/gcc --build
=3Di686-pc-linux-gnu --host=3Dmingw32 --target=3Dmingw32 =
--enable-languages=3Dc,c++,java
--with-gcc --with-gnu-as --with-gnu-ld =
--with-as=3D/datal/gcc/xgcc/bin/mingw32-as
--with-ld=3D/datal/gcc/xgcc/bin/mingw32-ld --enable-threads=3Dwin32 =
--disable-nls -
-disable-win32-registry --disable-shared --disable-debug =
--disable-multilib --wi
thout-newlib --enable-libgcj --disable-java-awt --without-x =
--enable-java-gc=3Dboe
hm --disable-libgcj-debug --enable-interpreter =
--enable-hash-synchronization
Thread model: win32
gcc version 3.3 20030215 (prerelease)