|
From: Mikkel D. <mi...@co...> - 2003-02-03 09:19:32
|
It is freely downloadable, as a part of the .NET Platform SDK.=20
You will also need the freely downloadable Platform SDK.
As far as I can tell, the c/c++ compiler included with the .NET platform =
SDK is not dependent on other .NET stuff.
I dont know how to make the makefile work for visual studio. My guess is =
that you should remove some of the -D from the COMPILER definition. And =
ofcourse set the build environment.
>>> le...@ta... 02/03/03 08:56am >>>
Mikkel,
Thanks for this. I will plead ignorance of .NET Is this a=20
compiler that can be
downloaded. Or is it something I would have to purchase? One thing on=20
my list
is to move the currently manual building of the native code on windows=20
into the
ant build. I have done it for other projects, just have to merge the=20
code into
the Wrapper build. When I get that in, can I bring this up with you=20
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 =
=3D
>cl -DWIN32 -D_CRTAPI1=3D""
>
>INCLUDE=3D$(INCLUDE);$(JAVA_HOME)/include;$(JAVA_HOME)/include/win32
>
>wrapper_SOURCE =3D wrapper.c wrapper_win.c property.c logger.c
>
>wrapper_dll_SOURCE =3D wrapperjni_win.c wrapperjni.c
>
>BIN =3D ../../bin
>DLLDIR =3D ../../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 =3D Something 2 See!
>http://www.vasoftware.com=20
>_______________________________________________
>Wrapper-user mailing list
>Wra...@li...=20
>https://lists.sourceforge.net/lists/listinfo/wrapper-user=20
>
> =20
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See!
http://www.vasoftware.com=20
_______________________________________________
Wrapper-user mailing list
Wra...@li...=20
https://lists.sourceforge.net/lists/listinfo/wrapper-user
|