From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: Gpp compiler Date: 17 Apr 2000 10:48:14 GMT Organization: Aachen University of Technology (RWTH) Lines: 30 Message-ID: <8deq5e$gqt$1@nets3.rz.RWTH-Aachen.DE> References: <8d4naf$f9m$1 AT news1 DOT sunrise DOT ch> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 955968494 17245 137.226.32.75 (17 Apr 2000 10:48:14 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 17 Apr 2000 10:48:14 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Osah wrote: > "Error no file names given" <---- Why should it give me this message when i > compiled my program like this: > gpp test.cpp That's a very strange error message. The only message like that I remember having seen from gcc is the one you get when you provide *no* input file to gcc, i.e. you just call 'gcc', without any arguments: gcc: No input files To check whether 'gpp.exe' itself might be the problem, could you please try: gcc -v -c test.cpp ('gpp' is only really needed for linking, not for compiling, so this should work). If that works, try the next step, in the same less convenient way: gcc -v -o testprog.exe test.o -lstdcxx If that also works compare the results to that of the same command lines, with 'gcc' replaced by 'gpp'. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.