input line is too long
Danny Smith
dannysmith@clear.net.nz
Sat Jan 4 03:31:00 GMT 2003
On Thu, 2 Jan 2003, Ranjit Mathew wrote:
> Unlike MSVC, the MinGW GCC/binutils toolchain does not export
> functions from an EXE, even if you explicitly add
> "__declspec(dllexport)" (which is what JNICALL is defined as on
> Win32) to the function definition.
A recent patch to binutils, still pending approval, allows just that.
http://sources.redhat.com/ml/binutils/2003-01/msg00042.html
Also it possible to build exe's that export function with current
binutils release using dlltool.
>From a post by Tor Lillqvist to mingw-users 2002-01-04
> You have to first compile main.c with
> gcc -c main.c
> then run
> dlltool --output-exp main.exp main.o
> then link it
> gcc -o main.exe main.o main.exp
Danny
More information about the Java
mailing list