delorie.com/archives/browse.cgi | search |
Message-ID: | <3A05EC39.F16498B3@user.rose.com> |
From: | April <awhite AT user DOT rose DOT com> |
X-Mailer: | Mozilla 4.7 [en]C-CCK-MCD {TLC;RETAIL} (Win95; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | rsxntdj sample cplus |
Lines: | 48 |
Date: | Sun, 05 Nov 2000 18:24:41 -0500 |
NNTP-Posting-Host: | 205.189.215.17 |
X-Trace: | client 973479921 205.189.215.17 (Sun, 05 Nov 2000 22:05:21 EST) |
NNTP-Posting-Date: | Sun, 05 Nov 2000 22:05:21 EST |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Version: Reading specs from c:/tools/gnu/rsxntdj/lib/specs gcc driver version 2.95.2 19991024 (release) executing gcc version 2.8.1 ld version 2.7 (with BFD 2.7) rsxntsj v1.5 (?) The sample whello.cpp compiles (with a warning about an unused variable MainWindow), but does not link When I run gccw32 -v -Wall -O3 whello.cpp -o whello.exe , this is the output: c:\tools\gnu\lib\gcc-lib\djgpp\2.952\cpp.exe -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=8 -D__cplusplus -D__32BIT__ -D__EMX__ -Di386 -D__32BIT__ -D__EMX__ -D__i386__ -D__i386 -Asystem(unix) -Asystem(emx) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -D__WIN32__ -D_WIN32 -D__RSXNT__ whello.cpp C:\WINDOWS\TEMP\ccQeeeiB.ii c:\tools\gnu\lib\gcc-lib\djgpp\2.952\cc1plus.exe C:\WINDOWS\TEMP\ccQeeeiB.ii -fstack-check -fstack-check -quiet -dumpbase whello.cc -version -o C:\WINDOWS\TEMP\ccdHVJ2L.s c:\tools\gnu\bin\as.exe -o C:\WINDOWS/TEMP/ccEjiyHl.o C:\WINDOWS\TEMP\ccdHVJ2L.s c:\tools\gnu\bin\ld.exe -o whello.exe c:/tools/gnu/rsxntdj/lib/crt0w32.o -Lc:/tools/gnu/rsxntdj/lib/st -Lc:/tools/gnu/rsxntdj/lib -L. -Lc:/tools/gnu/rsxntdj/lib/st -Lc:/tools/gnu/rsxntdj/lib -Lc:/tools/gnu/lib -Lc:/tools/gnu/lib/gcc-lib/djgpp/2.952 -Lc:/tools/gnu/bin -Lc:/tools/gnu/lib -L/lib/st C:\WINDOWS\TEMP\ccEjiyHl.o -lalias -lgcc -lc -lmain -lc_app -lc -lgcc -lemx -lkrn32 -lusr32 -lgdi32 -lemx2 -Trsxnt.djl ntbind -remove whello.exe But there is no EXE. I ran the gccw32 against the winedit sample and the output with -v was comparable, though the EXE was made. I am interested in changing some small apps to cpp, but... Thanks.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |