Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Windows build (was Re: Happy Birthday to DrB)

Date2006-11-15 15:06
FromMichael Gogins
SubjectRe: [Cs-dev] Windows build (was Re: Happy Birthday to DrB)
I too wish to keep both tool sets alive.

The circularity you mention is the very reason that I made my changes. Since SCons can't reliably detect which tool the user wishes to use, the user must manually tell SCons. 

In my view, there should not be two 'custom' filenames. I think my changes would have worked for you if, as my email suggested, you copied custom-msvc.py over custom.py. Did you try that? But probably, it can be loaded depending on the value of the manual 'withMinGW' option.

I don't see a problem with having a default to build the interfaces. You can drive SCons with a shell script that sets the options that you need, which is what I do to build the installer version. But it doesn't really matter which is the default.

I'll try your changes later this week, and let you know what happens.

Regards,
Mike


-----Original Message-----
>From: Victor Lazzarini 
>Sent: Nov 15, 2006 5:20 AM
>To: Developer discussions 
>Subject: [Cs-dev] Windows build (was Re:  Happy Birthday to DrB)
>
>
>The problem is that these changes now have made it impossible to
>build on MSVC.
>
>The major problem is that custom-msvc does not get loaded now even
>withMinGW=0 (the line that calls it is nowhere in Sconstruct !). But I
>can't add an if-else to load custom-msvc.py because it has to happen
>before the MinGW option check!
>
>So I did some changes that will hopefully detect mingw, even on a
>system with MSVC in as well. What I tried to do was to detect
>if mingw was at all in the system, by checking that it is in the tools
>list; if so it sets withMinGW to 1 and everything else proceeds as per
>your code.
>
>I also set the buildInterfaces option to default to '0' (I think this was
>the original form).
>
>Could you let me know if this has worked for you? Otherwise we will
>have to look for a different solution. Although I prefer the default
>build platform to be msys/gcc, I am keen on keeping the MSVC build
>alive.
>
>Victor
>
>At 03:22 15/11/2006, you wrote:
>>Happy birthday, Richard!
>>
>>I am preparing the Windows build. I have had to make some changes to
>>SConstruct -- it will not automatically detect MSVC or MinGW, it defaults to
>>MinGW but you can override that by setting withMinGW=0. If you do build with
>>MSVC you have to first copy custom-msvc.py over custom.py, also. Anyway,
>>everything builds and runs as before.
>>
>>Best,
>>Mike
>>
>>----- Original Message -----
>>From: "Dr. Richard Boulanger" 
>>To: "Developer discussions" 
>>Sent: Tuesday, November 14, 2006 8:40 PM
>>Subject: Re: [Cs-dev] Happy Birthday to DrB
>>
>>
>> > John,
>> >
>> > THANKS SO MUCH
>> >
>> > -dB
>> >
>> >
>> > On Nov 10, 2006, at 12:17 PM, 
>> >  wrote:
>> >
>> >> and as a small present, I have just release Csound 5.04
>> >>
>> >> At present we are missing the Windows build, but hej! today is his
>> >> birthday.
>> >>
>> >> Many Happy Returns
>> >>
>> >> ==John ffitch
>> >>
>> >> ----------------------------------------------------------------------
>> >> ---
>> >> Using Tomcat but need to do more? Need to support web services,
>> >> security?
>> >> Get stuff done quickly with pre-integrated technology to make your
>> >> job easier
>> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
>> >> Geronimo
>> >> http://sel.as-us.falkag.net/sel?
>> >> cmd=lnk&kid=120709&bid=263057&dat=121642
>> >> _______________________________________________
>> >> Csound-devel mailing list
>> >> Csound-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>> >
>> >
>> > -------------------------------------------------------------------------
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> > your
>> > opinions on IT & business topics through brief surveys - and earn cash
>> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>opinions on IT & business topics through brief surveys - and earn cash
>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth 
>
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net