delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/18/11:08:42

Sender: tim AT riker DOT skynet DOT be
Message-ID: <3B2E1904.328A9262@falconsoft.be>
Date: Mon, 18 Jun 2001 17:06:44 +0200
From: Tim Van Holder <tim DOT vanholder AT falconsoft DOT be>
Organization: Anubex N.V.
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4-win4lin i686)
X-Accept-Language: en, nl-BE, nl
MIME-Version: 1.0
To: djgpp AT delorie DOT com
CC: rita_wirekogh AT aol DOT com
Subject: Re: LINKING PROBLEM IN C++
References: <be DOT 16172740 DOT 285f65db AT aol DOT com>
Reply-To: djgpp AT delorie DOT com

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 -


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