[Cs-dev] SCons not working any more with MSYS/MinGW
Michael Gogins <[email protected]> Sun, 1 Jan 2006 17:07:37 -0500 (GMT-05:00)
| Newsgroups | gmane.comp.audio.csound.devel,gmane.mail.eyebrowse.user |
|---|---|
| Message-ID | <23291236.1136153257593.JavaMail.root@mswamui-andean.atl.sa.earthlink.net> |
I am one of the developers of the Csound 5 project. I created a build system for this project that uses SConstruct and, on Windows, MSYS/MinGW to build the entire project. This build system was working fine for years until a few days ago. I upgraded my Python installation to Python 2.4.2, and reinstalled MSYS and MinGW with all versions current as of this date. Now the build system does not work on Windows. It fails in the configuration portion of the build. The config tests produce compiler commands like this, and fail: gcc -Wall -g -gstabs -O2 -D_WIN32 -DWIN32 -DPIPES -DOS_IS_WIN32 -mthreads -DBETA -DUSE_DOUBLE -I. -IH -IC:\utah\usr\msys\1.0\local\include -IC:\utah\usr\mingw\include -IC:\utah\opt\Python24\include -IC:\utah\usr\mingw\include -IC:\utah\opt\lua50\include -IC:\utah\opt\Tcl\include -IC:\utah\opt\boost -IC:\utah\opt\jdk1.5.0\include -IC:\utah\opt\jdk1.5.0\include\win32 -IC:\utah\opt\pd-0.38-4-devel-2\src -I\usr\local\include -I\usr\include -c -o .sconf_temp\conftest_0.o .sconf_temp\conftest_0.c The problem appears to be caused by SCons using '\' to separate components of a pathname, instead of '/' which is what works with gcc. How can I instruct SCons to create pathnames with '/' instead of '\'? Is there any way to get the MSys sh to translate pathnames with '\' to pathnames with '/'? All commands passed to tools must use Posix style pathnames. I am getting desperate, thanks for any help you can provide. Regards, Mike Gogins ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Csound-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/csound-devel