And now I see this:

http://gcc.gnu.org/ml/gcc/2011-04/msg00010.html

Has any progress been made (is the new boehm-gc in GCC trunk)?

Thanks,

Ruben

2011/5/5 Ruben Van Boxem <[email protected]>

> Hi,
>
> I am attempting a libgcj build, and GCC is building boehm-gc for that.
>
> I ran into some trouble:
>
> 1. boehm-gc/include/gc.h typedef'ed GC(_signed)_Word as Win32 API's
> ULONG_PTR and LONG_PTR without including any headers, I temporarily fixed
> that by changing these to uintptr_t and ptrdiff_t, which do work.
>
> 2. boehm-gc/mark.c need some additional members in struct _CONTEXT defined
> in mingw-w64's winnt.h. Specifically, it chokes on
>
>> /home/ruben/Development/src/gcc/boehm-gc/mark.c:429:18: error: 'struct
>> _CONTEXT' has no member named 'Esp'
>> /home/ruben/Development/src/gcc/boehm-gc/mark.c:429:33: error: 'struct
>> _CONTEXT' has no member named 'Ebp'
>> /home/ruben/Development/src/gcc/boehm-gc/mark.c:430:18: error: 'struct
>> _CONTEXT' has no member named 'Ebp'
>> /home/ruben/Development/src/gcc/boehm-gc/mark.c:430:44: error: 'struct
>> _CONTEXT' has no member named 'Esp'
>> /home/ruben/Development/src/gcc/boehm-gc/mark.c:431:18: error: 'struct
>> _CONTEXT' has no member named 'Esp'
>> /home/ruben/Development/src/gcc/boehm-gc/mark.c:431:33: error: 'struct
>> _CONTEXT' has no member named 'Esp'
>> /home/ruben/Development/src/gcc/boehm-gc/mark.c:435:18: error: 'struct
>> _CONTEXT' has no member named 'Eip'
>>
> But looking further in winnt.h, it seems there are several definitions of
> the struct depending on bitness. I can verify that the file mark.c was being
> compiled by x86_64-w64-mingw32-gcc. How should I proceed?
>
> Thanks
>
> Ruben
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to