cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/27/11:05:22

Date: Wed, 27 Oct 1999 10:01:19 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Caver <cavers AT earthlink DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: problem compiling multiple object files
In-Reply-To: <000701bf203b$577afb20$eb01f5d1@wcaver>
Message-ID: <Pine.SUN.3.91.991027095616.27176N-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Tue, 26 Oct 1999, Caver wrote:

> Hi! Got a problem, and I'd be very grateful for some help.

Please in the future DO NOT post in HTML, and we will be most grateful 
too.

> Whenever I try to compile three object files together
>     (for example:   gxx -o exer0910.exe money.o checkbook.o balancer.o)
> 
> I get the following error message:
> 
> gxx
>     a device attached to the system is not functioning

What version of GCC and Binutils are you using?  What is DIR print for 
the programs gcc.exe and ld.exe?

Some older versions of GCC and the linker accessed specific drives while 
they were searching for libraries.  Perhaps on your system one of these 
drives is not ready or not connected.

> Compiling with just two object files works fine with no problems.
> 
> I tried putting this at the end:
>     -Xlinker --verbose > linker.log
> but nothing happens.

What do you mean ``nothing happens''?  You should be able to see in 
linker.log the directories where the linker looks for files.  Don't you 
see that info?

- Raw text -


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