delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/03/10:13:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_40,MSGID_FROM_MTA_HEADER,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <BLU0-SMTP964BCD41CA446FACC165E1DD750@phx.gbl>
Date: Sun, 03 Jan 2010 10:13:47 -0500
From: Claude Sylvain <csylvain AT electro-technica DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin mailing list <cygwin AT cygwin DOT com>
Subject: Re: GCC, -rdynamic option is unrecognized by GCC.
References: <BLU0-SMTP36DAE1B773C84D963D0B89DD770 AT phx DOT gbl> <hhogsv$v4m$1 AT ger DOT gmane DOT org> <4B40246C DOT 40903 AT gmail DOT com>
In-Reply-To: <4B40246C.40903@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Dave Korn wrote:

 > Cesar Strauss wrote:
 >> but failed with undefined references when switching to gcc 4.3.4. They
 >> seem to be related to some inline functions in toporouter.c.
 >
 >   The meaning of "extern inline" changed, to match c99.  See, for example:
 >
 > http://sourceware.org/ml/newlib/2007/msg00292.html
 >
 > and the references therein.
 >

- Not sure if I understand how to apply the modification referred in
   "http://sourceware.org/ml/newlib/2007/msg00292.html".

- But, I do the following:
	- In "toporouter.c", replaced all "inline" keywords by
	  "_ELIDABLE_INLINE" macro (found in "/usr/include/stdio.h").
	  Result:  This do not solve the link problem!?

	- In "toporouter.c", replaced all "inline" keywords by
	  "extern inline" keywords.
	  Result:  This solve the link problem.

- Is there some requirements (in a project), to be able to use
   "_ELIDABLE_INLINE" macro correctly?


Regards
Claude


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

- Raw text -


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