[Bug java/12987] Incompatibility with VC++
oyvind dot harboe at zylin dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 10 14:08:00 GMT 2003
------- Additional Comments From oyvind dot harboe at zylin dot com 2003-11-10 14:08 -------
This appears to be a more general(not Java specific) compatibility problem
between Visual C++ 6.0 and GCC.
I'll attach foo.c and bar.c
1. gcc -shared -o bar.dll -Wl,--out-implib,foo.lib bar.c
2. gcc -o foo foo.c bar.lib
When I compile 2. from VC++, I get an error message and the application crashes
when it tries to invoke bar():
--------------------Configuration: test2 - Win32 Debug--------------------
Compiling...
foo.c
Linking...
bar.lib(d000001.o) : warning LNK4078: multiple ".text" sections found with
different attributes (E0000020)
test2.exe - 0 error(s), 1 warning(s)
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[Mingw] Problems with |Incompatibility with VC++
|linking application that |
|calls JVM |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12987
More information about the Gcc-bugs
mailing list