Mail Archives: djgpp/1993/08/24/10:21:34
I have just installed djgpp for the first time. Things went smoothly.
I used something like "gcc sort.cc" to try it out on the included sample.
The compile seemed to progress well (there were a few typical warning
messages).
However: the program stopped with "Bad command or file name". This seems
to have come after the compile stage but before the link stage. There
were no .o files produced, and no a.out.
I wondered what program was used to link: a scan of the documents suggests
that "ld.exe" should be found in the bin directory. It's not there and it's
not in any of the files I ftp'd:
djdev110bn.zip
djdoc110bn.zip
gcc241bn.zip
gas211bn.zip (doc/djgpp/README says "gas221bn.zip" -- I assume
that's a typo since archie reports no such file in existence)
Summary:
1.Why does my compiler *not* produce .o files? (in spite of the fact
that it seems to be compiling ok.)
2.Why does it say "Bad command or file name"?
3.Am I missing the linker program? Where should it be found?
Any insights would be appreciated.
-Dan
- Raw text -