delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/15/21:50:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 15 May 2003 21:50:32 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Help cross compiling for MingW32 standalone executables.
Message-ID: <20030516015032.GB14269@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0305151349550 DOT 21369-100000 AT eos>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0305151349550.21369-100000@eos>
User-Agent: Mutt/1.4.1i

On Thu, May 15, 2003 at 02:00:26PM -0500, Brian Ford wrote:
>On Wed, May 14, 2003 at 14:49:18PM -0400, Christopher Faylor wrote:
>
>> I maintain binutils.  I know what the problem is.  If 'gcc -mno-cygwin'
>> could be made to never search /usr/lib that would solve many -mno-cygwin
>> problems.
>>
>I am probably overlooking a lot here, but it seems to me that if you add
>the equivalent of:
>
>-Wl,-nostdlib,-L/usr/lib/w32api
>
>to the -mno-cygwin linker specs in gcc, you would get what you want.  If
>you want me to work up a patch, I'll give it a try.

As a matter of fact, yes it would probably work.  That shows me that I should
recheck things before I make definitive statements.  I didn't know that ld took
a -nostdlib.  It's a relatively recent addition but it is not *that* recent.

cgf

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