Mail Archives: djgpp/2000/04/17/06:56:49
Osah <osah AT geneva-link DOT ch> 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.
- Raw text -