Author Topic: Trying to build NASM under Windows using Microsoft Visual Stdio  (Read 3572 times)

Offline rsherry8

  • Jr. Member
  • *
  • Posts: 2
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

Offline ig

  • Jr. Member
  • *
  • Posts: 12
Re: Trying to build NASM under Windows using Microsoft Visual Stdio
« Reply #1 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.

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Trying to build NASM under Windows using Microsoft Visual Stdio
« Reply #2 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