NASM assembly problems
mrgrynch at comcast.net
mrgrynch at comcast.net
Thu Apr 14 14:12:09 CEST 2005
I have some more information in support of a problem with the build paths.
I moved the x86i folder to D\_temp, changed to the folder to D:\_temp\x86i\pentium4\sse2 and executed the following:
D:\_temp\x86i\pentium4\sse2>nasm -O9 -Xvc -f win32 -o "submul_1.obj" "submul_1.asm"
This worked.
Regards,
-Dave
-------------- Original message --------------
> mrgrynch at comcast.net wrote:
> > I've been trying to build Brian Gladman's Win32 port of GMP, but cannot
> > seem to get the assembly code to work. I've downloaded the NASM
> > compiler, placed it in it's own folder, and set my path. Typing "nasm"
> > from the command line (any command line) is able to find the program
> > without a problem.
> >
> > Attempting to build ANY of the assembly code portion, however, responds
> > with the output below. Any assistance would be appreciated.
> >
> > Thanks,
> > -Dave
> >
> > ------ Rebuild All started: Project: lib_mpn_p4, Configuration: Debug
> > Win32 ------
> >
> > Deleting intermediate files and output files for project 'lib_mpn_p4',
> > configuration 'Debug|Win32'.
> >
> > Performing Pre-Build Event...
> >
> > 1 file(s) copied.
> >
> > 1 file(s) copied.
> >
> > 1 file(s) copied.
> >
> > Performing Custom Build Step
> >
> > The system cannot execute the specified program.
> >
> > Project : error PRJ0019: A tool returned an error code from "Performing
> > Custom Build Step"
>
> You need to put the NASM executable in the VC++ binary folder, which is:
>
> C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
>
> on my system (note that this is different on VC6 and VC8 beta).
>
> You aslo need to make sure that the NASM executable is called nasm.exe
> and not nasmw.exe.
>
> I am happy to help with any other problems you run into.
>
> Brian Gladman
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-discuss/attachments/20050414/14b69863/attachment.html
More information about the gmp-discuss
mailing list