delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/03/08:45:47

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
X-Sasl-enc: s5GNDhpYzUc3t+YJxg2s1Q 1070459127
Message-ID: <3FCDE9AB.3080609@cwilson.fastmail.fm>
Date: Wed, 03 Dec 2003 08:48:27 -0500
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with gcc -mno-cygwin?
References: <3FCD509D DOT 9040104 AT cwilson DOT fastmail DOT fm> <20031203032728 DOT GA3222 AT redhat DOT com> <3FCD6314 DOT 7060804 AT cwilson DOT fastmail DOT fm> <20031203042247 DOT GA5795 AT redhat DOT com>
In-Reply-To: <20031203042247.GA5795@redhat.com>
X-Enigmail-Version: 0.76.1.0
X-Enigmail-Supports: pgp-inline, pgp-mime

Christopher Faylor wrote:

> Do you possibly have two versions of the mingw libgcc.a somehow?  I haven't
> verified this on my system, since I am knee deep in something else right
> now but nm on /lib/gcc-lib/i686-pc-mingw32/3.3.1/libgcc.a tells me:
> 
>   w32-shared-ptr.o:
>   00000000 b .bss
>   00000000 d .data
>   00000000 t .text
> 	   U _AddAtomA AT 4
> 	   U _FindAtomA AT 4
> 	   U _GetAtomNameA AT 12
>   00000040 t ___w32_eh_shared_initialize
>   00000010 C ___w32_sharedptr
>   00000020 t ___w32_sharedptr_default_unexpected
>   000002a0 t ___w32_sharedptr_get
>   000000c0 T ___w32_sharedptr_initialize
>   000001f0 t ___w32_sharedptr_set
>   00000010 C ___w32_sharedptr_terminate
>   00000010 C ___w32_sharedptr_unexpected
> 	   U _abort
>   00000000 b _dw2_object_mutex.0
>   00000000 d _dw2_once.1
> 	   U _free
> 	   U _malloc
>   00000010 b _sjl_fc_key.2
>   00000008 d _sjl_once.3
>   00000000 t _w32_atom_suffix
> 
> For some reason you have a libgcc.a in your /usr/lib/mingw.  I don't
> Maybe that's the problem.

Yep, that's the problem. It appears that some of my early experiments 
building a true cygwin-mingw cross compiler are coming back to haunt me. 
  Also, my /usr/lib/mingw and /usr/include/mingw directories are actual 
directories, not symlinks to /usr/i686-pc-mingw32/[lib|include] as it 
seems they should be.

I'll rm my existing /usr/lib/mingw and /usr/include/mingw dirs and 
reinstall the mingw stuff, and try again, but not this instant. Thanks 
for your help in tracking this down.

--
Chuck



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