Re: sys/filio.h

2012-03-19 Thread Christopher Faylor
On Mon, Mar 19, 2012 at 11:01:52AM +0100, Michel Bardiaux wrote: >> [...] Can you either confirm that the defined variable is named >"cygwin", or tell me what the >> actual name is? > >__CYGWIN__ (*2* underscores, twice) Please read the entire thread before responding. This question was already a

RE: sys/filio.h

2012-03-19 Thread Michel Bardiaux
> [...] Can you either confirm that the defined variable is named "cygwin", or tell me what the > actual name is? __CYGWIN__ (*2* underscores, twice) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/

Re: sys/filio.h

2012-03-16 Thread Tom Szczesny
Thank you's to you both: Marco:           defined(__CYGWIN__) Christopher:     gcc -xc /dev/null -dD -E -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.h

Re: sys/filio.h

2012-03-16 Thread Christopher Faylor
[formatting fixed] On Fri, Mar 16, 2012 at 04:23:32PM -0400, Tom Szczesny wrote: >There are several places in the source code that have the following >type of construction: > >#if defined(_AIX) || defined(linux) || defined(__alpha) || defined(__APPLE__) >extern "C" { >#include >} >#else >extern "C

Re: sys/filio.h

2012-03-16 Thread Tom Szczesny
There are several places in the source code that have the following type of construction: #if defined(_AIX) || defined(linux) || defined(__alpha) || defined(__APPLE__)extern "C" {#include }#elseextern "C" {#include }#endif As a temporary measure, I have added a line at the beginning of each co

RE: sys/filio.h

2012-03-16 Thread Tom Szczesny
Thanks for the tip! I was able to get the package working under Gentoo Linux. Seems that I need to do some work on the config step (which appears to have decided that the build is being done under Solaris). The file /usr/include/sys/filio.h does not exist in Gentoo Linux either. -

Re: sys/filio.h

2012-03-16 Thread Christopher Faylor
On Fri, Mar 16, 2012 at 01:06:14PM -0400, Tom Szczesny wrote: > >Hi, I am attempting to "make install" the A+ language in my Cygwin environment. > >The package aplus-fsf-4.22-4.tar.gzis available at www.aplusdev.org > > > >The configure worked fine: > > CFLAGS=-O2 CXXFLAGS=-O2 ./configure