This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Build libgcc_s on Windows


NightStrike <nightstrike@gmail.com> wrote on 02.09.2008 17:30:48:

> On 9/2/08, Kai Tietz <Kai.Tietz@onevision.com> wrote:
> > Hi,
> >
> > by this patch the build problems about gthr-win32.c are fixed for me. 
The
> > problem is that in libgcc the header system.h isn't inherited and so
> > CONST_CAST2 isn't declared. I add to gthr-win32.h an optional 
declaration
> > of this macro.
> >
> > NightStrike, does this patch works for you?
> This patch brings us back to the failures of 139837 and 139838.  So it
> fixes the failure of 139839, but the other remains.

Fine. I changed the link libraries order of SHLIB_LC. The import libraries 
kernel32 and co. needs to be put at the end of SHLIB_LC, so that ld is 
able to find all necessary symbols. NightStrike, could you try this patch 
if it is working for you?

ChangeLog

2008-09-03  Kai Tietz  <kai.tietz@onevision.com>

        * gthr-win32.h (CONST_CAST2): Added.
        * config/i386/t-mingw32 (SHLIB_LC): Change order of import 
libraries.



Cheers,
Kai

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

Attachment: w64-gthr.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]