delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/04/14/15:33:09

From: "Groman" <groman AT f2s DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Freaky upgrade results...
Date: Sat, 14 Apr 2001 12:18:08 -0700
Organization: MindSpring Enterprises
Lines: 39
Message-ID: <9ba7qt$6ii$1@slb7.atl.mindspring.net>
References: <9b7svb$1o8$1 AT slb6 DOT atl DOT mindspring DOT net> <2110-Sat14Apr2001103538+0300-eliz AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: d8.af.58.ee
X-Server-Date: 14 Apr 2001 19:18:53 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.

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).


- Raw text -


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