Mail Archives: djgpp/1999/10/27/11:05:22
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 -