This is the mail archive of the automake@gnu.org mailing list for the automake 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: AM_CPPFLAGS don't appear in cygwin CC line


>>> "Thomas" == Thomas 'Tom' R Treadway <treadway1@llnl.gov> writes:

 Thomas> I using automake-1.8.2, (autoconf-2.59, libtool-1.5)
 Thomas> I have a makefile with:

 Thomas> AM_CPPFLAGS = \
 Thomas> -I$(includedir)

 Thomas> running make on every machine I've tried, generates something like:
 Thomas> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/tmp/include -g -c sstruct.c

 Thomas> but, the cygwin machine generates:
 Thomas> gcc -g sstruct.c -o sstruct

It looks like some target depends on `sstruct' or
something/someone is calling `make sstruct'.  This is a problem
on Cygwin since the binary is expected to be called
`sstruct.exe'.  It's probably just a matter of appending
$(EXEEXT) to the bogus dependency or Makefile call.  

Whether this is an Automake bug or an error from you is hard to
tell without seeing your Makefile.am and how you start this
compilation.

 Thomas> Are there known issues with cygwin, and automake-1.8.2?

No reports yet.  Does the test suite pass?
-- 
Alexandre Duret-Lutz




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