c++ - How do I suppress the creation of a map file?
- Matthew Wilson (0/0) Apr 07 2003
- Arjan Knepper (2/2) Apr 07 2003 /NOMAP
- Matthew Wilson (6/8) Apr 07 2003 Brilliant.
- Matthew Wilson (6/8) Apr 07 2003 That works nicely.
- Matthew Wilson (5/15) Apr 07 2003 I spoke too soon. The linker command does seem to accept the flag, and t...
- Arjan Knepper (10/37) Apr 07 2003 Typical, using link.exe /NOMAP test.obj does not generate a .map using
- Matthew Wilson (5/42) Apr 07 2003 Thanks for the info. I'll try and change the makefile to use LINK and no...
- Jim Jennings (28/30) Apr 07 2003 I'd be interested in knowing what you have in your makefile. I have trie...
- Jim Jennings (13/26) Apr 07 2003 not
Brilliant. Doh! Thanks :) "Arjan Knepper" <ask me.to> wrote in message news:b6r8lm$12jo$1 digitaldaemon.com.../NOMAP Matthew Wilson wrote:
Apr 07 2003
That works nicely. For the benefit of others, when linking via DMC++, one needs to specify -L/nomap Thanks again Arjan "Arjan Knepper" <ask me.to> wrote in message news:b6r8lm$12jo$1 digitaldaemon.com.../NOMAP Matthew Wilson wrote:
Apr 07 2003
I spoke too soon. The linker command does seem to accept the flag, and the "/nomap" sequence is included in the link command. Alas, map files are still build. Very annoying! "Matthew Wilson" <dmd synesis.com.au> wrote in message news:b6s1vt$1joq$1 digitaldaemon.com...That works nicely. For the benefit of others, when linking via DMC++, one needs to specify -L/nomap Thanks again Arjan "Arjan Knepper" <ask me.to> wrote in message news:b6r8lm$12jo$1 digitaldaemon.com.../NOMAP Matthew Wilson wrote:
Apr 07 2003
Typical, using link.exe /NOMAP test.obj does not generate a .map using dmc -L/NOMAP test.cpp _does_ generate a .map. Strange... Using the IDDE, the command in the outputwindow looks like: link /NOI /DE /E /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 /RC :.\XMS.RES XMS.LNK ren U:\TEST\XMS\REC\$SCW$.EXE XMS.EXE Errors: 0 Warnings: 0 Successful build And no map file is generated. Matthew Wilson wrote:I spoke too soon. The linker command does seem to accept the flag, and the "/nomap" sequence is included in the link command. Alas, map files are still build. Very annoying! "Matthew Wilson" <dmd synesis.com.au> wrote in message news:b6s1vt$1joq$1 digitaldaemon.com...That works nicely. For the benefit of others, when linking via DMC++, one needs to specify -L/nomap Thanks again Arjan "Arjan Knepper" <ask me.to> wrote in message news:b6r8lm$12jo$1 digitaldaemon.com.../NOMAP Matthew Wilson wrote:
Apr 07 2003
Thanks for the info. I'll try and change the makefile to use LINK and not DMC "Arjan Knepper" <ask me.to> wrote in message news:b6s5vt$16e$1 digitaldaemon.com...Typical, using link.exe /NOMAP test.obj does not generate a .map using dmc -L/NOMAP test.cpp _does_ generate a .map. Strange... Using the IDDE, the command in the outputwindow looks like: link /NOI /DE /E /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 /RC :.\XMS.RES XMS.LNK ren U:\TEST\XMS\REC\$SCW$.EXE XMS.EXE Errors: 0 Warnings: 0 Successful build And no map file is generated. Matthew Wilson wrote:theI spoke too soon. The linker command does seem to accept the flag, and"/nomap" sequence is included in the link command. Alas, map files are still build. Very annoying! "Matthew Wilson" <dmd synesis.com.au> wrote in message news:b6s1vt$1joq$1 digitaldaemon.com...That works nicely. For the benefit of others, when linking via DMC++, one needs to specify -L/nomap Thanks again Arjan "Arjan Knepper" <ask me.to> wrote in message news:b6r8lm$12jo$1 digitaldaemon.com.../NOMAP Matthew Wilson wrote:
Apr 07 2003
"Matthew Wilson" <dmd synesis.com.au> wrote in message news:b6srvg$jhb$1 digitaldaemon.com...Thanks for the info. I'll try and change the makefile to use LINK and not DMCI'd be interested in knowing what you have in your makefile. I have tried the following. The commented lines at the end work, and there is no map file remaining. I am not sure that I can do what I am trying to do with the code as it stands (or if I even have it right). I write a lot of little one file programs and would like to eliminate the leftover map file. One can always delete the map file as an extra step either from the command line for with a makefile command, but it is a pain. I forget and end up with a lot of trash sitting around. DMDIR=C:\dm\bin CC=$(DMDIR)\dmc CFLAGS=-Ae -C -WA -S -5 -a8 INCLUDES=-I\dm\stlport\stlport LINKER=$(DMDIR)\link LFLAGS=/NOI /DE /E /PACKF /XN /NT .SUFFIXES: .c .cpp .h .hpp .obj .exe .cpp.obj: $(CC) -c $? $(CFLAGS) $(INCLUDES) obj.exe: $(LINKER) $(LFLAGS) -o $? #strsiz.obj: strsiz.cpp #strsiz.exe: strsiz.obj sc strsiz.cpp Fatal error: unable to open input file 'iostream' --- errorlevel 1
Apr 07 2003
"Jim Jennings" <jwjenn mindspring.com> wrote in message news:b6tbuv$uvf$1 digitaldaemon.com..."Matthew Wilson" <dmd synesis.com.au> wrote in message news:b6srvg$jhb$1 digitaldaemon.com...notThanks for the info. I'll try and change the makefile to use LINK andfileDMCI'd be interested in knowing what you have in your makefile. I have tried the following. The commented lines at the end work, and there is no mapremaining. I am not sure that I can do what I am trying to do with thecodeas it stands (or if I even have it right). I write a lot of little onefileprograms and would like to eliminate the leftover map file. One can always delete the map file as an extra step either from the command line for withamakefile command, but it is a pain. I forget and end up with a lot oftrashsitting around.This works so I will go with it until I know more about make. .cpp.obj: $(CC) -c $? $(CFLAGS) $(INCLUDES) strsiz.exe: strsiz.obj $(LINKER) $(LFLAGS) $<
Apr 07 2003