in reply to Building Perl with the free MSVC tools
It took longer to satisfy nmake than it did to build! I took a few quick notes as I installed. Here's a quick recipe:
Note: The .NET SDK installs files into two directories: one is user configurable and one isn't. I used "D:\Program Files\Microsoft Visual Studio .NET 2003", but the installer installed "lib" and "inc" into "C:\Program Files\Microsoft Visual Studio .NET 2003"
23,24c23,24 < INST_DRV = c: < INST_TOP = $(INST_DRV)\perl --- > INST_DRV = d: > INST_TOP = $(INST_DRV)\perl5.9.1 87c87 < CCTYPE = MSVC60 --- > #CCTYPE = MSVC60 #get rid of vc 6 specific stuff 154,155c154,155 < #CCHOME = f:\msvc20 < CCHOME = $(MSVCDIR) --- > CCHOME = d:\program files\microsoft visual c++ toolki +t 2003 > #CCHOME = $(MSVCDIR) 396c396 < CFLAGS = -nologo -Gf -W3 $(INCLUDES) $(DEFINES) $(LOC +DEFS) \ --- > CFLAGS = -nologo -GF -W3 $(INCLUDES) $(DEFINES) $(LOC +DEFS) \ 820c820,821 < perlglob$(o) setargv$(o) --- > perlglob$(o) > #setargv$(o)
Fresh, steamin' hot perl 5.9.1, ready to enjoy!
I'll try to replicate the build with bleadperl over the next couple of days and post any fixes or corrections.
Update: corrected LIB path (added Vc7\lib to LIB, see #7 above)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Building Perl with the free MSVC tools
by Anonymous Monk on May 23, 2004 at 03:01 UTC | |
by bmann (Priest) on May 23, 2004 at 08:21 UTC | |
by Anonymous Monk on May 23, 2004 at 20:37 UTC | |
by Anonymous Monk on May 23, 2004 at 20:51 UTC | |
by Anonymous Monk on May 24, 2004 at 05:06 UTC |