I have an open-source thermophysical property library (like REFPROP) that I am trying to wrap using SWIG for scilab.  I'm pretty experienced with the use of SWIG for C#, python, Java, Octave, etc.

For the life of me I cannot get swig to build with this mysterious comment

./configure --with-scilab=<path_scilab_startup_script>
I am a newcomer to scilab (love the idea as there is a lot that is appealing about MATLAB apart from the ridiculous price) but an experienced programmer. What does <path_scilab_startup_script> refer to?

I would like to support linux, OSX and windows.

Will this work on OSX?  Does anyone have binaries for windows?  The build process for swig on windows is truly atrocious.