This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: cygwin gcc 3.1 branch updated
On Sat, Jun 29, 2002 at 08:17:36AM +1000, Danny Smith wrote:
> --- Earnie Boyd <earnie_boyd@yahoo.com> wrote: > Christopher Faylor wrote:
>> >
>> > >
>> > >are going to break native mingw builds, since mingw32.h includes cygwin.h
>> and
>> > >t-cygwin is also a tmake_file for mingw. Is it time to break out
>> mingw32.h
>> > >from its dependency on cygwin.h?
>> >
>> > Yes, sorry Danny. I meant to mention that. I believe that we should
>> disentangle
>> > the two. Either that or we should create common files which both use. Or,
>> I can
>> > add an #ifdef __CYGWIN__ around that swath of code if that helps.
>> >
>>
>> *sigh* I think that separation is the better solution.
>>
>> Earnie.
>
>I don't. There is too much code in common. It's only the include specs that
>differ and that's always been the case. I've tested with the cygwin specific
>code guarded by #ifndef NATIVE_MINGW_SPECS (defining NATIVE_MINGW_SPECS in
>mingw32.h). The t_mingw32 file, however, can easily be made standalone.
>
>I'll submit a patch later today after the rugby.
Don't bother Danny. I've got things separated pretty nicely, I think. Since I
broke it, I should fix it.
Hope you haven't gotten too far doing this, although it's actually pretty easy.
cgf