delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/17/02:20:28

Date: Tue, 17 Apr 2001 09:07:23 +0300 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: djgpp AT delorie DOT com
Subject: Re: Freaky upgrade results...
In-Reply-To: <9ba7qt$6ii$1@slb7.atl.mindspring.net>
Message-ID: <Pine.A41.4.05.10104170859480.23734-100000@ieva06.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Sat, 14 Apr 2001, Groman wrote:

> Thanx. It seems to work now... I wonder if I can manage to get an ld with
> elf32-i386 support
> for binutils 2.10 ... I tried the one Alex suggested it didn't work unless I
> used -mno-bnu210
> flag, same error.
> 
> For now it works with -mno-bnu210, although the compiler gives a very
> annoying message
> about flag being depricated, although it doesn't bother me that much.

More likely the options -mbnu210 and -mno-bnu210 will be no more
really supported in next major gcc versions (gcc-3.0). This is reason why
I added this warning.
 
> 
> So is there a way to compile 2.10 binutils for DJGPP with elf support? (i'll
> take a look at
> the delorie docs page when I get back home.)
> 
> > >
> > > embed.sys:
> > >  $(CPP) $(CPPFLAGS) -o kernel.o kernel.cpp
> > >  $(LD) $(LDFLAGS) kernel.o
> > > ---- ERROR MESSAGE ---
> > > ld-elf -static -o bin/kernel.sys -Ttext 0x100000 -v loader.o kernel.o
> > > lowlevel.o textscr.o
> > > GNU ld version 2.9 (with BFD 2.9)
> > > c:/groman/djgpp/bin/ld-elf.exe: kernel.o: Unrecognized storage class 127
> for
> > > .text symbol `_cli__Fv'
> > >
> > > -----------------
> > >
> > > What the heck? I don't even know what the heck that means. (I have
> > > binutils-elf 2.9, and the latest DJGPP zips)
> >
> > It probably means that the latest GCC and/or assembler emit code that
> > ld-elf.exe doesn't support.  Since the current Binutils version is
> > 2.10, it's quite possible that 2.9-based linker could fail.
> >
> > You could try using the -mno-bnu210 switch to the compiler (i.e., add
> > it to CFLAGS), perhaps it will help (assuming your GCC is 2.95.3).
> 

Andris


- Raw text -


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