Guys, Could any of you give me the scons command to execute to get my compile going with Visual Studio 2008?
The command that I have used is: cons env="PATH:C:\Program Files\Microsoft Visual Studio 9.0\VC\bin;C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools,INCLUDE:C:\Program Files\Microsoft Visual Studio 9.0\VC\include;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include,LIB:C:\Program Files\Microsoft Visual Studio 9.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib" That gets it to compile and as stated in this thread the file generated is way too large. I assume the way to get a smaller file is not to compile it as a shared library... But I could still compile a lib that is of more reasonable size. I have looked around for the scons instructions but failed so far. Your help is welcome. On Mon, Jan 4, 2010 at 7:28 PM, Philippe Roy <[email protected]> wrote: > You guys are absolutely right... There was a memory leak there and it > is not clean to do so. I have fixed it. > > Rest assure that I appreciate any constructive feedback such as the > ones that were communicated so far. > > I will dig to see how scons work so that I could get my lib to a > reasonable size. If anyone has a specific posting that could easily be > referred, I would appreciate the input. I will try to find it on my > own in the meantime. > > BTW, serious documentation should be made for a novice, such as > myself, and include these important details. It's a downer to have to > dig for basic information and to have to become an expert just to be a > user (I know that is part of the UNIX philosophy that everyone should > be an expert)... > > Thank you > > On Mon, Jan 4, 2010 at 3:14 PM, Abdulla Kamar <[email protected]> wrote: >> I believe that's throw by value, catch by reference. I don't remember it >> ever being const reference. Having said that, it looks like Philippe is >> coming from a Java or C# background, so it's an understandable mistake. >> >> On Tue, Jan 5, 2010 at 5:40 AM, Stephan Beal <[email protected]> wrote: >>> >>> On Mon, Jan 4, 2010 at 7:36 PM, Stephan Beal <[email protected]> >>> wrote: >>>> >>>> PS: if you're really throwing exceptions by pointer, instead of const >>>> reference, you REALLY should pick up a copy of Scott Meyers' "Effective >>>> C++". >>> >>> Sorry, that's covered in "More Effective C++", not "Effective C++", Item >>> #13. >>> -- >>> ----- stephan beal >>> http://wanderinghorse.net/home/stephan/ >>> >>> -- >>> v8-users mailing list >>> [email protected] >>> http://groups.google.com/group/v8-users >> >> >> -- >> Thank you >> Abdulla >> >> -- >> v8-users mailing list >> [email protected] >> http://groups.google.com/group/v8-users > -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
