This is the mail archive of the cygwin 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]
Other format: [Raw text]

RE: cygwin -mno-cygwin AC_CHECK_SIZEOF


> 
> Or have autoconf use some other tool that does not do binary 
> processing
> (e.g., awk or tr) instead of cat, which would enable the text mount
> solution.
> 	Igor

Or make cygwin-pc-i686-gcc -mno-cygwin foo.c mean something subtly but
significantly 
different from mingw32-pc-i686-gcc foo.c by adding a startfile object
that does this

int _CRT_fmode = _O_BINARY

to -mno-cygwin gcc specs.

This will make binmode default, even for stdin/stdout/stderr, and let
all the
cygwin binmode tools work just dandy

I've run into same problem as Bob Rossi myself, while building gcc's
libgomp (#defines in header file are generated using AC_CHECK_SIZE_OF)
for mingw, and I'm stll looking for acceptable solution too.
 
Danny




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


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