delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/12/13:55:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42D403FC.2060402@familiehaase.de>
Date: Tue, 12 Jul 2005 19:55:08 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: gcc: .rdata problem
References: <SERRANOIHKZtitZi6pH000004cb AT SERRANO DOT CAM DOT ARTIMI DOT COM>
In-Reply-To: <SERRANOIHKZtitZi6pH000004cb@SERRANO.CAM.ARTIMI.COM>
X-IsSubscribed: yes

Dave Korn wrote:

> ----Original Message----
> 
>>From: Charles Wilson
>>Sent: 12 July 2005 01:27
> 
> 
>>I dunno about the .rdata issue, but you can't use /usr/bin/libtool with
>>g++-3.4.4 because /usr/bin/libtool encodes explicit predep and postdep
>>objects and paths specific to g++-3.3.3.
> 
> 
>>Long term fix: I need to release libtool packages in sync with gcc
>>releases.  Look for a g++-3.4.4 compatible (but g++-3.3.3 INcompatible)
>>libtool1.5 update soon.
>>
> 
> 
> dk AT mace /artimi/firmware> grep 3.3.3 /bin/libtool
> predep_objects="/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/crtbegin.o"
> postdep_objects="/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/crtend.o"
> compiler_lib_search_path="-L/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3
> -L/usr/lib/gcc
> -lib/i686-pc-cygwin/3.3.3/../../.."
> dk AT mace /artimi/firmware>
> 
>   Hey, why not extract that stuff from gcc somehow?  The -print-search-dirs
> output could be manipulated to give you that stuff, couldn't it?

Why wasn't this included in the specs?

Anyway, since crt* .o object files are no longer present in 3.4,
simply checking which version is used should do it:

$ gcc --version | grep 3.3 && echo true

$ gcc --version | grep 3.4 && echo true
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
true

Depending on the result, define *dep_objects or leave it undefined.


Gerrit

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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