c++ - Problem with scppn.exe
- Alex Vinokur (26/26) Oct 29 2003 Hi,
- Gisle Vanem (3/11) Oct 29 2003 Check your INCLUDE line in c:\dm\bin\sc.ini.
- Alex Vinokur (17/28) Oct 29 2003 Here is my sc.ini.
- Gisle Vanem (3/14) Oct 29 2003 Looks okay. Do you really have c:\dm\include\heapstat.h then ?
- Alex Vinokur (30/44) Oct 29 2003 Yes, I do.
- Walter (6/53) Oct 29 2003 It looks to me like you're not using the ordinary command prompt shell, ...
- Alex Vinokur (17/19) Oct 29 2003 [snip]
- Alex Vinokur (21/28) Oct 30 2003 [snip]
- Christof Meerwald (9/22) Oct 30 2003 But AFAIK, scppn doesn't parse sc.ini, only dmc does (and passed on a
- Alex Vinokur (10/27) Oct 30 2003 [snip]
- Walter (2/3) Oct 30 2003 dmc is a driver program that calls the various compilers, linkers, etc.
- Alex Vinokur (9/12) Oct 31 2003 What scppn is?
- Walter (4/13) Oct 31 2003 news:bnrn19$1rph$1@digitaldaemon.com...
Hi, I tried to compile using scppn.exe, but I have a problem. ------ BEGIN ------ $ pwd C:/dm/bin $ dmc Digital Mars Compiler Version 8.35n [---omitted---] $ dmc -I. -I\dm\stlport\stlport foo.cpp link foo,,,user32+kernel32/noi; // Success $ scppn Digital Mars C/C++ Compiler Version 8.36.4n [---omitted---] $ scppn -I. -I\dm\stlport\stlport foo.cpp Fatal error: unable to open input file 'heapstat.h' // Failure ------ END -------- What is wrong? Thanks in advance, ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================
Oct 29 2003
"Alex Vinokur" <alexvn connect.to> wrote:$ scppn -I. -I\dm\stlport\stlport foo.cpp Fatal error: unable to open input file 'heapstat.h' // Failure ------ END -------- What is wrong?Check your INCLUDE line in c:\dm\bin\sc.ini. --gv
Oct 29 2003
"Gisle Vanem" <giva users.sourceforge.net> wrote in message news:bnor4p$qlo$1 digitaldaemon.com..."Alex Vinokur" <alexvn connect.to> wrote:Here is my sc.ini. [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE% LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help" -- ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================$ scppn -I. -I\dm\stlport\stlport foo.cpp Fatal error: unable to open input file 'heapstat.h' // Failure ------ END -------- What is wrong?Check your INCLUDE line in c:\dm\bin\sc.ini. --gv
Oct 29 2003
"Alex Vinokur" <alexvn connect.to> wrote:Here is my sc.ini. [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE% LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help"Looks okay. Do you really have c:\dm\include\heapstat.h then ? --gv
Oct 29 2003
"Gisle Vanem" <giva users.sourceforge.net> wrote in message news:bnp1eo$142o$1 digitaldaemon.com..."Alex Vinokur" <alexvn connect.to> wrote:Yes, I do. ------ foo.cpp --- #include <stdlib.h> int main () { return 0; } ------------------ ------ Compilation ------ $ pwd C:/dm/include $ ls -l [---omitted---] -rw-r--r-- 1 dosuser root 140 Jan 2 1997 heapstat.h [---omitted---] -rw-r--r-- 1 dosuser root 12381 May 16 01:50 stdlib.h [---omitted---] $ cd ../bin $ scppn -I. -I\dm\stlport\stlport foo.cpp Fatal error: unable to open input file 'heapstat.h' ------------------------- By the way, why doesn't dmc have such a problem? -- ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================Here is my sc.ini. [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE% LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help"Looks okay. Do you really have c:\dm\include\heapstat.h then ? --gv
Oct 29 2003
It looks to me like you're not using the ordinary command prompt shell, but some other one. Which is it? "Alex Vinokur" <alexvn connect.to> wrote in message news:bnq3pc$2ibm$1 digitaldaemon.com..."Gisle Vanem" <giva users.sourceforge.net> wrote in messagenews:bnp1eo$142o$1 digitaldaemon.com...INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE%"Alex Vinokur" <alexvn connect.to> wrote:Here is my sc.ini. [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin"Yes, I do. ------ foo.cpp --- #include <stdlib.h> int main () { return 0; } ------------------ ------ Compilation ------ $ pwd C:/dm/include $ ls -l [---omitted---] -rw-r--r-- 1 dosuser root 140 Jan 2 1997 heapstat.h [---omitted---] -rw-r--r-- 1 dosuser root 12381 May 16 01:50 stdlib.h [---omitted---] $ cd ../bin $ scppn -I. -I\dm\stlport\stlport foo.cpp Fatal error: unable to open input file 'heapstat.h' ------------------------- By the way, why doesn't dmc have such a problem? -- ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help"Looks okay. Do you really have c:\dm\include\heapstat.h then ? --gv
Oct 29 2003
"Walter" <walter digitalmars.com> wrote in message news:bnq4bm$2j1d$1 digitaldaemon.com...It looks to me like you're not using the ordinary command prompt shell, but some other one. Which is it?[snip] I merely redacted my text (in UNIX-like style). Here is an actual log. ------ Log ------ C:\dm\bin>scppn -I. -I\dm\stlport\stlport foo.cpp Fatal error: unable to open input file 'heapstat.h' C:\dm\bin>dmc -I. -I\dm\stlport\stlport foo.cpp link foo,,,user32+kernel32/noi; ----------------- -- ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================
Oct 29 2003
"Alex Vinokur" <alexvn connect.to> wrote in message news:bnq6pp$2mnd$1 digitaldaemon.com... [snip]Here is an actual log. ------ Log ------ C:\dm\bin>scppn -I. -I\dm\stlport\stlport foo.cpp Fatal error: unable to open input file 'heapstat.h' C:\dm\bin>dmc -I. -I\dm\stlport\stlport foo.cpp link foo,,,user32+kernel32/noi; -----------------[snip] By the way, scppn with no arguments produces very short output : ------ BEGIN ------ C:\dm\bin>scppn.exe Digital Mars C/C++ Compiler Version 8.36.4n Copyright (C) Digital Mars 2000-2003. All Rights Reserved. Written by Walter Bright www.digitalmars.com C:\dm\bin> ------ END ------- Is this OK? dmc with no arguments produces help information. -- ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================
Oct 30 2003
On Thu, 30 Oct 2003 06:32:52 +0200, Alex Vinokur wrote:But AFAIK, scppn doesn't parse sc.ini, only dmc does (and passed on a modifed environment to scppn). So all your settings in sc.ini are ignored if you invoke scppn directly. bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?Here is my sc.ini. [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE% LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help"Looks okay. Do you really have c:\dm\include\heapstat.h then ?
Oct 30 2003
"Christof Meerwald" <cmeerw web.de> wrote in message news:bnrd1d$1d5a$1 digitaldaemon.com...On Thu, 30 Oct 2003 06:32:52 +0200, Alex Vinokur wrote:[snip] What is the difference between dmc and scppn ? -- ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================But AFAIK, scppn doesn't parse sc.ini, only dmc does (and passed on a modifed environment to scppn). So all your settings in sc.ini are ignored if you invoke scppn directly.Here is my sc.ini. [Version] version=7.51 Build 020 [Environment] PATH=%PATH%;"% P%\..\bin" BIN="% P%\..\bin" INCLUDE="% P%\..\include";"% P%\..\mfc\include";"% P%\..\stl";%INCLUDE% LIB="% P%\..\lib";"% P%\..\mfc\lib";%LIB% HELP="% P%\..\help"Looks okay. Do you really have c:\dm\include\heapstat.h then ?
Oct 30 2003
"Alex Vinokur" <alexvn connect.to> wrote in messageWhat is the difference between dmc and scppn ?dmc is a driver program that calls the various compilers, linkers, etc.
Oct 30 2003
"Walter" <walter digitalmars.com> wrote in message news:bnrn19$1rph$1 digitaldaemon.com..."Alex Vinokur" <alexvn connect.to> wrote in messageWhat scppn is? -- ===================================== Alex Vinokur mailto:alexvn connect.to http://mathforum.org/library/view/10978.html news://news.gmane.org/gmane.comp.lang.c++.perfometer =====================================What is the difference between dmc and scppn ?dmc is a driver program that calls the various compilers, linkers, etc.
Oct 31 2003
"Alex Vinokur" <alexvn connect.to> wrote in message news:bntkjq$1u7g$1 digitaldaemon.com..."Walter" <walter digitalmars.com> wrote in messagenews:bnrn19$1rph$1 digitaldaemon.com...scppn is the compiler pass run by dmc."Alex Vinokur" <alexvn connect.to> wrote in messageWhat scppn is?What is the difference between dmc and scppn ?dmc is a driver program that calls the various compilers, linkers, etc.
Oct 31 2003