NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: rsherry8 on August 11, 2022, 01:58:34 AM

Title: Trying to build NASM under Windows using Microsoft Visual Stdio
Post by: rsherry8 on August 11, 2022, 01:58:34 AM
I have downloaded the source to NASM. I want to build the NASM binary from it. According to the documentation, I should type in the following command:
       nmake /f Mkfiles\msvc.mak

When I run the command here is my output:

Microsoft (R) Program Maintenance Utility Version 14.29.30146.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Mkfiles\msvc.mak(242) : fatal error U1005: syntax error : text must follow ':' in macro
Stop.

What did I do wrong?

Bob
Title: Re: Trying to build NASM under Windows using Microsoft Visual Stdio
Post by: ig on August 11, 2022, 11:58:06 AM
You are right, it doesn't work [for me either].
The makefile uses syntax that the (rather ancient?) MSVC nmake doesn't support.
Title: Re: Trying to build NASM under Windows using Microsoft Visual Stdio
Post by: Frank Kotler on August 12, 2022, 04:18:15 AM
Hi guys,

The forum is only loosely connected to the developers list:

https://lists.nasm.us/nasm-devel/

That might be a better place to ask this question (and to put "home made" source code).

Best,
Frank