www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/07/05:53:43

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: pavenis AT lanet DOT lv
To: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>, djgpp AT delorie DOT com
Date: Thu, 7 Mar 2002 12:52:26 +0200
MIME-Version: 1.0
Subject: Re: BASH 2.05 a cannot find GCC.EXE
Message-ID: <3C87628A.29223.69BF4A@localhost>
In-reply-to: <3C8699BF.3B7A897D@phekda.freeserve.co.uk>
X-mailer: Pegasus Mail for Windows (v4.01)
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 6 Mar 2002 at 22:35, Richard Dawe wrote:

> Hello.
> 
> Charles Sandmann wrote:
> [snip]
> > > With 'configure first' applications using 'Simtel bash', I always get a
> > > million errors that look like this:
> > >
> > > d:/user/djgpp/bin/as.exe: bfd assertion fail
> > > /dj204/gnu/binutl-2.112/bfd/coff-i386.c:529
> > > d:\user\djgpp\tmp\cc0mzF8o.s:8883: Error: cannot represent relocation type
> > > BFD_RELOC_386_GOT32
> > 
> > PIC errors.  There is a key configuration (hopefully) which turns off
> > shared library building.  It needs to be no shared libraries.
> [snip]
> 
> <Alarm bells ringing> Ah-ha. If it's a configure script produced by autoconf
> and the package uses libtool, then try running configure like this:
> 
>     ./configure --disable-shared
> 
> IIRC there's a bug somewhere - in the port of gcc or in libtool - that means
> libtool doesn't detect that DJGPP's gcc port doesn't support -fPIC or shared
> libraries.
> 

Perhaps configure only tries to compile test source using -fpic and it works. 
The trouble begins with linker. I used following hint to configure which
workarounds this problems:

export lt_cv_prog_cc_pic_works=no

Andris



- Raw text -


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