www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/18/10:13:21

From: RITAWIREKOGH AT aol DOT com
Message-ID: <be.16172740.285f65db@aol.com>
Date: Mon, 18 Jun 2001 10:10:35 EDT
Subject: LINKING PROBLEM IN C++
To: djgpp AT delorie DOT com
CC: nathanamanquah AT hotmail DOT com, baahgh AT hotmail DOT com, mary_osei-asare AT wvi DOT org
MIME-Version: 1.0
X-Mailer: AOL 5.0 for Windows sub 124
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019