- Subject: Re: [slang-users] Compiling and using S-Lang under Win32
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Wed, 23 Feb 2005 11:51:11 -0500
Jarratt Davis <jarrattd@xxxxxxxxxxxxxxx> wrote:
>API interface for adding extra functionality etc. Anyway I was
>wondering if anyone has any tips on compiling and using the S-Lang
>library under Win32 with MS Vis C? Any problems that I should be aware
To build the slang library using visual C do this at the "cmd" prompt:
cd \path\to\slang2
cd src
mkfiles\mkmake WIN32 VC < mkfiles\makefile.all > makefile
make
See mkfiles\README for more information.
Then I would do more or less the same from the slsh directory located
at the top of the slang tree to create a makefile for slsh. You might
want to use that makefile as a template for building other slang
applications.
>of? I originally had trouble compiling the test program and was going
>to ask about that, but just managed to work that one out. :) I normally
>do my programming under UN*X so my MS VC knowledge is just a tad rusty.
>:/ Has anyone succesfully managed to create a MS VC workspace/project
>file for S-Lang? It seems to do some sort of preprocessing in the
>makefile so I wasn't sure whether that was possible or not.
Someone did send me such a file once but it was huge,
incomprehensible, and unmaintainable from my point of view. I find my
makefile.all mechanism to be far easier to deal with for the purpose
of supporting multiple compilers under DOS/Windows.
Good luck,
--John
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]