Mail Archives: djgpp/2001/06/18/11:08:42
RITAWIREKOGH AT aol DOT com wrote:
>
> I have a CD ROM with DJGPP installed on it from 'The Sams Teach Yourself C++
> Second Edition'. It is DJGPP version 1.4 . The label on the CD is ISBN
> 0-672-31516-5.
That is a REALLY old version of DJGPP. You should consider removing it
and
using the zip picker (www.delorie.com/djgpp/zip-picker.html) to get the
DJGPP packages you need.
> When I go to 'Linker Options' and typed "gcc -c -Wall list1102.cpp" , I get
Linker options where? RHIDE?
> on my screen
> Error:c:/djgpp/bin/ld.exe:cannot open linker script file-Wall:No such file or
> directory(ENDENT). Eliminating 'Wall' also makes no difference.
That seems wrong; gcc -c only compiles, it doesn't link.
What do you get when you type this at the dos prompt:
gcc -Wall list1102.cpp -o list1102.exe -lstdcxx
> Changing the extension to '.cc' at the Linker command is also not helping.
> After compiling if I go to the compile command and pick "link" it still
> wouldn't work.
Well, my guess is that 'Linker Options' should be empty - but you didn't
exactly
give us many clues to work with :-)
--
Tim Van Holder - Anubex N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.
- Raw text -