This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


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

Re: updated win32 macro



----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin-apps@cygwin.com>; <autoconf@gnu.org>
Sent: Friday, March 16, 2001 2:29 AM
Subject: Re: updated win32 macro


> On Thu, Mar 15, 2001 at 11:29:34PM +1100, Robert Collins wrote:
> >Neato.. But can we put CFLAGS="$WIN32FLAGS $CFLAGS" or will that
break
> >other things? AFAIK (Chris - any comment) the -mwin32 needs to go
> >first..
>
> It breaks builds from the gcc or gdb build trees which override CFLAGS
> from the top level.  In my current tree, I've had to add additional
> stuff to the Makefile to get things to work.
>
> I think that setting CC=stuff will suffer from the same problem.
>
> So, I think we will have to make changes to both configure.in and
> Makefile.in, unfortunately.
>
> cgf


I think that Earnie was having success building unaltered packages with
CC=gcc -mwin32 ./configure ...

I would really like to minimse the alterations needed outside of
configure.in - can you think of any package in particular likely to have
trouble with CC=gcc -mwin32 ? (So that we could test it)

Rob


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