<html><body>
<DIV>Brian,</DIV>
<DIV>When I first attempted this, I followed the README instructions to the letter. When it didn't work, I started fiddling with it. The NASM files are in the VC7 /bin folder. The problem is not that it can't find NASM.EXE</DIV>
<DIV> </DIV>
<DIV>Original command line...</DIV>
<DIV> </DIV>
<DIV>nasm -O9 -Xvc -f win32 -I "g:\_views\gmp-4.1.4\mpn\x86i\pentium4\sse2\/" -o "Debug/mpn/submul_1.obj" "g:\_views\gmp-4.1.4\mpn\x86i\pentium4\sse2\submul_1.asm"</DIV>
<DIV> </DIV>
<DIV>This produces the error. I started decomposing the command line to see where it is breaking.</DIV>
<DIV> </DIV>
<DIV>Decomposed without input filename...</DIV>
<DIV> </DIV>
<DIV>G:\_views\gmp-4.1.4\gmp.build.vc7\lib_mpn_p4>nasm -O9 -Xvc -f win32 -I "g:\_views\gmp-4.1.4\mpn\x86i\pentium4\sse2\/" -o "Debug/mpn/submul_1.obj"<BR>nasm: error: no input file specified<BR>type `nasm -h' for help</DIV>
<DIV> </DIV>
<DIV>Adding the input filename back into the command line causes the error I mentioned. Drive G: is not a network drive.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> -Dave</DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message -------------- <BR><BR>> mrgrynch@comcast.net wrote: <BR>> > I've been trying to build Brian Gladman's Win32 port of GMP, but cannot <BR>> > seem to get the assembly code to work. I've downloaded the NASM <BR>> > compiler, placed it in it's own folder, and set my path. Typing "nasm" <BR>> > from the command line (any command line) is able to find the program <BR>> > without a problem. <BR>> > <BR>> > Attempting to build ANY of the assembly code portion, however, responds <BR>> > with the output below. Any assistance would be appreciated. <BR>> > <BR>> > Thanks, <BR>> > -Dave <BR>> > <BR>> > ------ Rebuild All started: Project: lib_mpn_p4, Configuration: Debug <BR>> > Win32 ------ <BR>> > <BR>> > Deleting intermediate files and output files for project 'lib_mpn_p4', <BR>> > configuration 'Debug|Win32'. <BR>> > <BR>> > Performing Pre-Build Event... <BR>> > <BR>> > 1 file(s) copied. <BR>> > <BR>> > 1 file(s) copied. <BR>> > <BR>> > 1 file(s) copied. <BR>> > <BR>> > Performing Custom Build Step <BR>> > <BR>> > The system cannot execute the specified program. <BR>> > <BR>> > Project : error PRJ0019: A tool returned an error code from "Performing <BR>> > Custom Build Step" <BR>> <BR>> You need to put the NASM executable in the VC++ binary folder, which is: <BR>> <BR>> C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin <BR>> <BR>> on my system (note that this is different on VC6 and VC8 beta). <BR>> <BR>> You aslo need to make sure that the NASM executable is called nasm.exe <BR>> and not nasmw.exe. <BR>> <BR>> I am happy to help with any other problems you run into. <BR>> <BR>> Brian Gladman <BR>> </BLOCKQUOTE></body></html>