From: joergsimon DOT md AT gmx DOT de Newsgroups: comp.os.msdos.djgpp Subject: gcc 2.7.2.1 calls cc1plus.exe instead cc1.exe Date: Mon, 23 Aug 1999 21:38:48 GMT Organization: Deja.com - Share what you know. Learn what you don't. Lines: 66 Message-ID: <7psf16$o7j$1@nnrp1.deja.com> NNTP-Posting-Host: 62.104.196.6 X-Article-Creation-Date: Mon Aug 23 21:38:48 1999 GMT X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) X-Http-Proxy: 1.0 bln2-tux.atm-bb.de:3128 (Squid/2.1.PATCH1), 1.0 x33.deja.com:80 (Squid/1.1.22) for client 212.81.130.252, 62.104.196.6 X-MyDeja-Info: XMYDJUIDjoes2000 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Dear readers, Dear DJ, I work with gcc version 2.7.2.1, (and a Pentium) I' ve installed djpgg-package and created the PATH-Variables into autoexec.bat. GCC runs correctly and completly under Dos 6.22. I would used a development environment under WIN NT and I've used the same command line how under Dos. The only other thing is an pipe of the output to an file and the using of makros for substituation of source- and destination files The command line for WIN NT is: FTEE gcc.exe %b%e -c -v -H -O -g -Wall -o %r.o %b%e stands for actuel working file with extension (file).c %r- name of Destination file The output is: Reading specs from e:/gnuc_djg/lib\specs gcc version 2.7.2.1 e:/gnuc_djg/bin\cpp.exe -lang-c++ -v -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=7 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP_MINOR__=1 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=1 -D__OPTIMIZE__ -g -Wall -H F:\daten\GoTo_C\AUF0206.C e:/gnuc_djg/tmp\ccbaaaaa GNU CPP version 2.7.2.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: e:/gnuc_djg/lang/cxx e:/gnuc_djg/include e:/gnuc_djg/contrib/grx20/include /usr/local/lib/g++-include /usr/local/include /usr/local/go32/include /usr/local/lib/gcc-lib/go32/2.7.2.1/include /usr/include End of search list. e:/gnuc_djg/include/stdio.h e:/gnuc_djg/include/sys/djtypes.h cc1plus e:/gnuc_djg/tmp\ccbaaaaa -quiet -dumpbase AUF0206.cc -g -O -Wall -version -o e:/gnuc_djg/tmp\cccaaaaa gcc.exe: installation problem, cannot exec `cc1plus': No such file or directory (ENOENT) I know, that the bin-file cc1plus doesn't exist in the bin-Path. The correct command line should be cc1 ...(and so on). I'd like to compile an C-source file and not an C++-source-file. I think, that gcc has to be called cc1.exe instead of cc1plus.exe. I don't know, where the failure is. Could somebody help me, please? Joerg Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.