TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: George Moralez
from: Peter Fitzsimmons
date: 1994-09-12 00:51:08
subject: C Set++ NMake Help

GM> .\LIST1.EXE: \
 GM>     .\List1.obj \
 GM>     LIST1.MAK
 GM>       {at}echo WF::LINK::Link
 GM>       link386.exe {at}<<
 GM>  /B" /de /nop"
 GM>  /FeLIST1.EXE 
 GM>  .\List1.obj
 GM> <<

The options above (/B"" and /Fe) are for ICC (which will call
link386),not for link386 directly.

(I was not able to get WF 2.1 working at all -- and I didn't just fall off
the melon truck;  so I share your frustration).

When you see these "generated" make files,  they can be
overwhelming. They can be MUCH simpler if you write them yourself (and this
is a portable skil you can take with you to another compiler/platform).
Here's one for your program (based on the options I saw in your makefile):

 COPT=/Tdp /Sa /Q /Ti /Ft-
 LOPT=/B"/de /nop"

 all: list1.exe

 list1.obj: list1.cpp
    icc $(COPT) /c list1.cpp

 list1.exe: list1.obj
    icc $(COPT) list1.obj $(LOPT)


That wasn't too scary was it?!

 GM> 3. /B is a valid option, what is this telling me?

/B passes arguments from icc to the linker.  For example:

    icc /O /Gm /B"/pm:pm /align:16" test.c

 GM> 4. What is /de?  I cannot seem to find it in the programming guide.
 GM>    I did specify debug.

/de is short for /debug

 GM> 5. What is /nop?  I find /nod, /noe and /noi but no /nop. 

/nop is short for /nopackcode

(try "link386 /?")




--- Maximus/2 2.01

* Origin: A Man's house is his hassle. (905)858-8488 (1:259/414)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 259/414 400 99 98 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.