Kevin Smith
2004-May-19 12:33 UTC
[Wxruby-users] Microsoft Visual C++ available for zero cost
I just found this: http://msdn.microsoft.com/visualc/vctoolkit2003/ I don''t tend to pay much attention to Microsoft and MS Windows, so perhaps everyone else already knew about it. Basically, they have released a command-line-only version of their C++ compiler and libraries for free (gratis) downloading. I assume this version would be able to compile wxRuby, but would be interested if anyone actually tries it. I still have a strong preference for truly free (libre) software, but I am glad this important tool is available (legally) to people who can''t afford the full SDK. Kevin
Curt Hibbs
2004-May-19 13:00 UTC
[Wxruby-users] Microsoft Visual C++ available for zero cost
Kevin Smith wrote:> > I just found this: > http://msdn.microsoft.com/visualc/vctoolkit2003/ > > I don''t tend to pay much attention to Microsoft and MS Windows, so > perhaps everyone else already knew about it. Basically, they have > released a command-line-only version of their C++ compiler and libraries > for free (gratis) downloading. > > I assume this version would be able to compile wxRuby, but would be > interested if anyone actually tries it. I still have a strong preference > for truly free (libre) software, but I am glad this important tool is > available (legally) to people who can''t afford the full SDK.I tried it a few weeks ago. It turns out that it does not include nmake, it only include the compiler/linker. So this was a not usable for the wxRuby 0.3.0. However, since wxruby-swig is using rake, I''m sure we should be able to use it. As son as I get wxruby-swig building under windows, I''ll give it another try. Curt
Berger, Daniel
2004-May-19 14:56 UTC
[Wxruby-users] Microsoft Visual C++ available for zero cost
> -----Original Message----- > From: wxruby-users-bounces@rubyforge.org > [mailto:wxruby-users-bounces@rubyforge.org] On Behalf Of Curt Hibbs > Sent: Wednesday, May 19, 2004 10:26 AM > To: General discussion of wxRuby > Subject: RE: [Wxruby-users] Microsoft Visual C++ available > for zero cost > > > Kevin Smith wrote: > > > > I just found this: > > http://msdn.microsoft.com/visualc/vctoolkit2003/ > > > > I don''t tend to pay much attention to Microsoft and MS Windows, so > > perhaps everyone else already knew about it. Basically, they have > > released a command-line-only version of their C++ compiler and > > libraries for free (gratis) downloading. > > > > I assume this version would be able to compile wxRuby, but would be > > interested if anyone actually tries it. I still have a strong > > preference for truly free (libre) software, but I am glad this > > important tool is available (legally) to people who can''t > afford the > > full SDK. > > I tried it a few weeks ago. It turns out that it does not > include nmake, it only include the compiler/linker. So this > was a not usable for the wxRuby 0.3.0. > > However, since wxruby-swig is using rake, I''m sure we should > be able to use it. As son as I get wxruby-swig building under > windows, I''ll give it another try.I believe you can get nmake.exe online (legally even). Not that I can find it right now, but I remember downloading it a long time ago... Regards, Dan
Robert McGovern
2004-May-20 06:00 UTC
[Wxruby-users] Microsoft Visual C++ available for zero cost
Apologies for top replying (Groupwise does this) Your right, nmake isn''t part of it the toolkit below. It is however part of Microsoft SDK. At my setup at work I have done the following. If you install the Microsoft SDK (http://www.microsoft.com/msdownload/platformsdk/sdkupdate/) first Then install the .net SDK (http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en) Then install the vctoolkit (http://msdn.microsoft.com/visualc/vctoolkit2003/) Copy the directories under C:\Program Files\Microsoft Visual C++ Toolkit 2003 to C:\Program Files\Microsoft Visual Studio .NET 2003\VC7 overwritting all the files there. Then you need to copy nmake.exe from C:\Program Files\Microsoft SDK\bin\Win64 to c:\Program Files\Microsoft SDK\bin\ Then open a command prompt, cd to C:\Program Files\Microsoft.NET\SDK\V1.1\bin and run sdkvars.bat Then cd to c:\Program Files\Microsoft SDK\ and run setenv.bat Then cd to your ruby source directory type win32\configure nmake and Bobs your uncle, one windows built ruby. I have just tried to only use Microsoft SDK (setenv.bat) and VCToolkit2003 (vcvars32.bat). The compilation bombed out when it tried to link with MSVCRT.lib which I can only find as part of the Microsoft .NET SDK. Note that there is a version of MS VC++ as part of the .NET SDK download. It doesn''t however do code optimization. The version that comes in the VCToolkit2003 does and that is why I overwrote the version in C:\Program Files\Microsoft Visual Studio .NET 2003\VC7 I hope this all makes some sense. Rob>>> curt@hibbs.com 05/19/04 05:26pm >>>Kevin Smith wrote:> > I just found this: > http://msdn.microsoft.com/visualc/vctoolkit2003/ > > I don''t tend to pay much attention to Microsoft and MS Windows, so > perhaps everyone else already knew about it. Basically, they have > released a command-line-only version of their C++ compiler andlibraries> for free (gratis) downloading. > > I assume this version would be able to compile wxRuby, but would be > interested if anyone actually tries it. I still have a strongpreference> for truly free (libre) software, but I am glad this important toolis> available (legally) to people who can''t afford the full SDK.I tried it a few weeks ago. It turns out that it does not include nmake, it only include the compiler/linker. So this was a not usable for the wxRuby 0.3.0. However, since wxruby-swig is using rake, I''m sure we should be able to use it. As son as I get wxruby-swig building under windows, I''ll give it another try. Curt _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Curt Hibbs
2004-May-20 23:33 UTC
[Wxruby-users] Microsoft Visual C++ available for zerocost
Thanks, I''ll give this a try, Curt Robert McGovern wrote:> > Apologies for top replying (Groupwise does this) > > Your right, nmake isn''t part of it the toolkit below. It is however > part of Microsoft SDK. At my setup at work I have done the following. > > If you install the Microsoft SDK > (http://www.microsoft.com/msdownload/platformsdk/sdkupdate/) first > > Then install the .net SDK > (http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6 > -3647-4070-9F41-A333C6B9181D&displaylang=en) > > Then install the vctoolkit > (http://msdn.microsoft.com/visualc/vctoolkit2003/) > > Copy the directories under C:\Program Files\Microsoft Visual C++ > Toolkit 2003 to C:\Program Files\Microsoft Visual Studio .NET 2003\VC7 > overwritting all the files there. > > Then you need to copy nmake.exe from C:\Program Files\Microsoft > SDK\bin\Win64 to c:\Program Files\Microsoft SDK\bin\ > > Then open a command prompt, cd to C:\Program > Files\Microsoft.NET\SDK\V1.1\bin and run sdkvars.bat > > Then cd to c:\Program Files\Microsoft SDK\ and run setenv.bat > > Then cd to your ruby source directory > > type > > win32\configure > > nmake > > and Bobs your uncle, one windows built ruby. > > I have just tried to only use Microsoft SDK (setenv.bat) and > VCToolkit2003 (vcvars32.bat). The compilation bombed out when it tried > to link with MSVCRT.lib which I can only find as part of the Microsoft > .NET SDK. > > Note that there is a version of MS VC++ as part of the .NET SDK > download. It doesn''t however do code optimization. The version that > comes in the VCToolkit2003 does and that is why I overwrote the version > in C:\Program Files\Microsoft Visual Studio .NET 2003\VC7 > > I hope this all makes some sense. > > Rob > > >>> curt@hibbs.com 05/19/04 05:26pm >>> > Kevin Smith wrote: > > > > I just found this: > > http://msdn.microsoft.com/visualc/vctoolkit2003/ > > > > I don''t tend to pay much attention to Microsoft and MS Windows, so > > perhaps everyone else already knew about it. Basically, they have > > released a command-line-only version of their C++ compiler and > libraries > > for free (gratis) downloading. > > > > I assume this version would be able to compile wxRuby, but would be > > interested if anyone actually tries it. I still have a strong > preference > > for truly free (libre) software, but I am glad this important tool > is > > available (legally) to people who can''t afford the full SDK. > > I tried it a few weeks ago. It turns out that it does not include > nmake, it > only include the compiler/linker. So this was a not usable for the > wxRuby > 0.3.0. > > However, since wxruby-swig is using rake, I''m sure we should be able to > use > it. As son as I get wxruby-swig building under windows, I''ll give it > another > try. > > Curt > > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.682 / Virus Database: 444 - Release Date: 5/11/2004 >