Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

NASM version 2.09 available (Announce)

posted by Rugxulo Homepage, Usono, 13.10.2010, 06:15

> > 2.09's "wmake -f mkfiles\openwcom.mak dos" doesn't work as-is in pure
> DOS
> > with DOS-hosted compiler due to cmdline limits (128 bytes? 126?).
>
> Doesn't OpenWatcom know of CMDLINE= maybe?

"whelp tools"

Apparently you can use "here docs" via << ... << (aka, inline texts???). Or for the compiler proper you can just put an asterisk '*' before the problem lines, and it will use a temp. env. var. if needed.

In short, I built NASM 2.09 (on XP, though) via DOS4GW OW 1.9 earlier today by making two simple changes: 1). copy NASM-2.09\lib\strlcpy.c NASM-2.09\ (dunno why this is needed, but it is), and 2). changed mkfiles\openwcom.mak to say CC=*wcl386 with the asterisk so that it can handle > 126-byte lines. (And yes I e-mailed hpa, though I doubt he cares too much, if at all.)

NASM can be built in SFNs with DJGPP and suitable C99 compiler (I think GCC 3.2.3 or newer), but they still don't ship config.h with it (even for DOS, which I recommended), and you can't (easily?) run ./configure in pure DOS, definitely not with SFNs only. (At least they finally updated CWSDPMI and bumped to a newer, less-buggy AutoConf.) I have a .BAT that works around that for 2.08.01, but I haven't updated it yet for the newer version. (The slightly-extended 0.98.38 and stock 0.98.39 built okay with CC386 back in the day, but I haven't tried newer NASM versions with it nor OrangeC.)

YASM builds with any old GCC, e.g. my one-floppy 2.95.3 package (last I checked). Not sure about OpenWatcom support.

(omitted unrelated comparison of various other assemblers' build requirements)

 

Complete thread:

Back to the forum
Board view  Mix view
22649 Postings in 2111 Threads, 402 registered users, 897 users online (1 registered, 896 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum