Mail Archives: djgpp/1998/12/24/09:37:22
"Mor,Ady/TAVBB" wrote:
> Hello All,
>
> Please please p;lease give me a hand:
>
> I have just installed the DJGPP compiler (for C++) which I downloaded
> from delorie.com.
>
> I have written a very basic program and compiled succesfully (to my
> amazement). (The source is below...)
> Now I want to run (exec) and I get an error message indicating that
> ld.exe has no input files.
>
> When I run ld.exe I get the following line ("d:/djgpp/bin/ld.exe: no
> input files."
1. Make sure you've downloaded Textutils and the FAQ. All wisdom is in
the FAQ. Sometimes it's hard to know the right question, but once you do,
the answer is there.
2. Post the command line you're using to compile/link.
For c++, I use this:
gxx -Wall -o fred.exe fred.cc
If you add the -v switch, you can see annoying details about the build
process that may or may not be helpful.
Which should work right out of the box. Always use -Wall and make sure
you don't get any warnings. No warnings means you're not doing anything
questionable.
Charles
--
Charles Krug, Jr.
Application Engineer
Pentek Corp
1 Park Way
Upper Saddle River, NJ 07458
- Raw text -