Date: Wed, 27 Oct 1999 10:01:19 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Caver cc: djgpp AT delorie DOT com Subject: Re: problem compiling multiple object files In-Reply-To: <000701bf203b$577afb20$eb01f5d1@wcaver> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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?