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

Re: Problems compiling trivial C program.


On Fri, Feb 07, 2003 at 01:33:40PM -0000, Christopher January wrote:
>I'm having trouble compiling this test program:
>
>void f(){}
>
>using the command line:
>gcc test.c -c -o test.o
>
>using 1.3.19 or latest Cygwin snapshot (2003-Feb-07) (same error with
>both) and gcc-3.2-3.
>
>The error I see is:
>
>16 bit MS-DOS Subsystem
>/usr/src/cygwin-cvs/obj
>The NTVDM CPU has encountered an illegal instruction.
>CS:0000 IP:0077 OP:f0 37 05 0e 02 Choose 'Close' to terminate the
>application.
>Close | Ignore
>
>AFAICT the command that is failing is:
>/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe,
>P:\ccj00\cygwin\usr\i686-pc-cygwin\bin\as.exe --traditional-format -o
>test.o /cygdrive/c/DOCUME~1/ccj00/LOCALS~1/Temp/cc50BUPU.s
>See the following strace portion:
>39542 4773296 [main] gcc 1428 spawn_guts: 1428 = spawn_guts
>(/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/as.exe,
                                                                     ^^^^^^

Sounds like a corrupted symlink.

cgf

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