From mboxrd@z Thu Jan 1 00:00:00 1970 From: "venkatesan.r" To: "'help-gcc@prep.ai.mit.edu'" Subject: Using gcc of Tornado IDE outside the environment Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <01BF753F.51B885A0@TIL001120> X-SW-Source: 2000-q1/msg00281.html Message-ID: <20000401000000.0ZfzDsYJplWujjHkbxhRiwRbS1scXpfiEDuA0ARNsfI@z> Hi I am trying to use the GNU gcc (ver 2.7.2) compiler (that came along with the Tornado IDE 2.0 ) in command prompt, for compiling a cpp program. I tried compiling, a simple cpp program (without any dependencies). For this I wrote a simple "makefile" as follows ************* main.o : main.cpp # main.cpp is my program file cc386 -c main.cpp ************** But when I executed the "make" at command line as >make -f makefile I got an error statement as gcc: program 'cpp' not found abnormal program termination. I set the system environment path variable and even placed the "cpp" program in the same 'bin' dir as the "make" of GNU is present. Can anyone please tell me what could be the reason that is preventing the "make" from recognising the cpp program when compiled through command line? Can gcc compiler of Tornado be used as an external compiler? Note : Even if I try calling cc386 compiler straightaway in the command prompt without using the make utility, the same problem continues. But I am able to successfully compile the same cpp program in Tornado IDE using the same compiler. Thanks and Regards Venkatesan