On 01 August 2006 15:39, Ben Wright wrote:
> g++ -mno-cygwin -Wl,--add-stdcall-alias
> -I/cygdrive/c/Java/jdk1.5.0_07/include
> -I/cygdrive/c/Java/jdk1.5.0_07/include/win32 -shared -o Samplers.dll whole bunch of source files here> -lstdc++ -lg2c
>
> /cygdrive/c/DOCUME~1/ben/LOCALS~1/Temp/ccWWbi
> The '-mno-cygwin' flag trigggers the "cross-compiler" to MinGW. If
> you're
> having problem with this switch, you should check with the MinGW folks
> (http://www.mingw.org/), since you're really using their compiler, not
> Cygwin's.
Will do. Thanks.
--
Benjamin Wright
Statistical Laboratory
On 08/01/2006, Ben Wright wrote:
I'm working on a project that uses a combination of c++, c and fortran to
build a library for use with the Java Native Interface. The library
compiles correctly under Linux with gcc 3.2.3, but I can't get it to
compile correctly under cygwin (using gcc 3.4.4).
3 matches
Mail list logo