Mail Archives: djgpp/2001/06/18/10:13:21
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.
In the book there are progrmmes alreadywritten and placed under "source" or
"exercises"
Let us take a file like "list1102.cpp",when I try compiling it gives no
errors but then I cannot link it.
When I go to 'Linker Options' and typed "gcc -c -Wall list1102.cpp" , I get
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.
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.
Meanwhile I followed the Readme commands and included all that is neccesary
on 'autoexec.bat' at Notepad.
I am just starting programming.
Please help
- Raw text -