|
From: Leif M. <le...@ta...> - 2003-02-03 07:56:26
|
Mikkel,
Thanks for this. I will plead ignorance of .NET Is this a
compiler that can be
downloaded. Or is it something I would have to purchase? One thing on
my list
is to move the currently manual building of the native code on windows
into the
ant build. I have done it for other projects, just have to merge the
code into
the Wrapper build. When I get that in, can I bring this up with you
again to
try to figure out a way to make the build work for both MFVC and .NET? They
may be one and the same. Hope hope. I'll get to it soon.
Cheers,
Leif
Mikkel Damsgaard wrote:
>The .NET Platform SDK comes with a fully functional c compiler.I have made a
>Makefile.win32 to compile using this compiler if anyone is interested.
>
>----------------------------------
>Makefile.win32 --------------------------------------------------COMPILE =
>cl -DWIN32 -D_CRTAPI1=""
>
>INCLUDE=$(INCLUDE);$(JAVA_HOME)/include;$(JAVA_HOME)/include/win32
>
>wrapper_SOURCE = wrapper.c wrapper_win.c property.c logger.c
>
>wrapper_dll_SOURCE = wrapperjni_win.c wrapperjni.c
>
>BIN = ../../bin
>DLLDIR = ../../lib
>
>all: wrapper wrapper.dll
>
>clean:
> rm -f *.o $(BIN)/realpath $(BIN)/wrapper
>cleanall: clean
> rm -rf *~ .deps
>
>wrapper: $(wrapper_SOURCE)
> $(COMPILE) $(wrapper_SOURCE) -o $(BIN)/wrapper /link shlwapi.lib
>Advapi32.lib ws2_32.lib
>
>wrapper.dll: $(wrapper_dll_SOURCE)
> $(COMPILE) $(wrapper_dll_SOURCE) /LD -o $(DLLDIR)/wrapper.dll
>
>%.o: %.c
> @echo '$(COMPILE) -c $<'; \
> $(COMPILE) -c $<
>
>
>
>
>-------------------------------------------------------
>This SF.NET email is sponsored by:
>SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
>http://www.vasoftware.com
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...
>https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
>
|