This is the mail archive of the cygwin@sourceware.cygnus.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: New GCC available for testing (TRY 3) -- fixes -mno-cygwin pr oblem


Opps.  Sorry, hit the send too soon.

--- Christopher Jones <cbjones@nortelnetworks.com> wrote:
> AC_CYGWIN keeps saying 'no' although I'm running configure from within bash
> and using cygwin latest from two days ago (1.1.2).  This message seemed
> relevant.
> 
> Trying to compile a simple program like the following fails... should be
> fairly similar to what autoconf is doing by my reading of the macro.
> 
> #ifndef __CYGWIN__
> #define __CYGWIN__ __CYGWIN32__
> #endif
> 
> int main(int argc, char **argv) {
> return __CYGWIN__;
> }
> 
> //RTP-CBJONES/...//tmp $ gcc a.c
> cpp: unrecognized option `-remap'
> cpp: unrecognized option `-remap'
> ....
> 
> gcc-2.95.2
> binutils-19990818-2
> 

What does `gcc -print-exec-name=cpp' output?  

Do you have any gcc environment variables defined?

What does `touch dummy.c; gcc -c dummy.c -E -dM' output?

Regards,

=====
---
   Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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