public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* sys/filio.h
@ 2012-03-16 17:06 Tom Szczesny
  2012-03-16 17:20 ` sys/filio.h Christopher Faylor
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Szczesny @ 2012-03-16 17:06 UTC (permalink / raw)
  To: cygwin


Hi, I am attempting to "make install" the A+ language in my Cygwin environment.

The package   aplus-fsf-4.22-4.tar.gz    is available at www.aplusdev.org

 

The configure worked fine:

   CFLAGS=-O2 CXXFLAGS=-O2 ./configure --prefix=/usr/local/aplus-fsf-4.22

 

The "make install" failed with the following message:

   AipcConnection.C:33:23: sys/filio.h: No such file or directory.

 

Any recommendations?  		 	   		  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: sys/filio.h
@ 2012-03-16 20:23 Tom Szczesny
  2012-03-16 20:42 ` sys/filio.h Christopher Faylor
  2012-03-19 10:02 ` sys/filio.h Michel Bardiaux
  0 siblings, 2 replies; 8+ messages in thread
From: Tom Szczesny @ 2012-03-16 20:23 UTC (permalink / raw)
  To: cygwin


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 <sys/ioctl.h>}#elseextern "C" {#include <sys/filio.h>}#endif
As a temporary measure, I have added a line at the beginning of each construction, stating:#define linux
While this works as a temporary fix, I need to know the name of the variable automatically defined by Cygwin so that I can do something like:#if defined(_AIX) || defined(linux) || defined(__alpha) || defined(__APPLE__) || defined(cygwin)
There is quite a long build going at the momemt, and I don't want to interrupt it to test out different possibilities.Can you either confirm that the defined variable is named "cygwin", or tell me what the actual name is?


 		 	   		  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re:  sys/filio.h
@ 2012-03-16 21:10 Tom Szczesny
  0 siblings, 0 replies; 8+ messages in thread
From: Tom Szczesny @ 2012-03-16 21:10 UTC (permalink / raw)
  To: cygwin


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.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-19 20:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 17:06 sys/filio.h Tom Szczesny
2012-03-16 17:20 ` sys/filio.h Christopher Faylor
2012-03-16 18:11   ` sys/filio.h Tom Szczesny
2012-03-16 20:23 sys/filio.h Tom Szczesny
2012-03-16 20:42 ` sys/filio.h Christopher Faylor
2012-03-19 10:02 ` sys/filio.h Michel Bardiaux
2012-03-19 20:57   ` sys/filio.h Christopher Faylor
2012-03-16 21:10 sys/filio.h Tom Szczesny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).