Afternoon, beaster.

I'm getting the linker (wlink) telling me that the system name (nt) is undefined. I followed the linking example you gave on the previous page except I replaced 'wl' with 'wlink'. Any ideas as to why 'nt' is undefined or unknown?

This is the assembling line:
\wasm32\bin\wasm %1.ASM


And this is the linking line:
\wasm32\bin\wlink system nt file %1.obj libpath c:\Wasm32\lib library kernel32.lib,user32.lib


Here's what I get:


#################################################
### ###
### BldAll.bat script for use with Wasm ###
### ###
#################################################
.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Open Watcom Assembler Version 1.0
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See [url]http://www.openwatcom.org/[/url] for details.
c:\wasm32\example1\minimum\minimum.ASM: 46 lines, 0 warnings, 0 errors
.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Open Watcom Linker Version 1.0
Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See [url]http://www.openwatcom.org/[/url] for details.
Warning! W1107: undefined system name: nt
loading object files
searching libraries
Warning! W1014: stack segment not found
creating an OS/2 linear extended executable
.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Files linked successfully for c:\wasm32\example1\minimum\minimum.exe:
minimum.asm
.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Press any key to continue . . .


Cheers,
Scronty
Posted on 2003-02-19 00:14:15 by Scronty
Hi Scronty,

please have a look at the wlink parameters I use.
BTW, Why don't you use the Watcom IDE?

just try nt_win instead of nt. I darkly remember a Script
which maps nt to nt_win.

Bye Miracle
Posted on 2003-02-19 11:16:12 by miracle