Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000701c17dd2$27526540$1600a8c0@sethur> From: "Tristan Nowak" To: Subject: Still gcc problems Date: Wed, 5 Dec 2001 22:16:32 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 I have further circumscribed the problem: "gcc cprogram.c -o cprogram.exe- v" creates the following output, i.e. it trys to run the following programs: Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs gcc version 2.95.3-5 (cygwin special) ******************* cpp0.exe ****************** /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/cpp0.exe -lang-c -v -D__GNUC__=2 -D __G NUC_MINOR__=95 -D_X86_=1 -D_X86_=1 -Asystem(winnt) -Acpu(i386) -Amachine(i38 6) - Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686 -D__i686__ -D__pentiu mpro -D__pentiumpro__ -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attri bute __((__cdecl__)) -D_stdcall=__attribute__((__stdcall__)) -D_cdecl=__attribute __(( __cdecl__)) -D__declspec(x)=__attribute__((x)) -D__CYGWIN32__ -D__CYGWIN__ - Duni x -D__unix__ -D__unix -isystem /usr/local/include -idirafter /usr/include -idira fter /usr/include/w32api cprogram.c /cygdrive/c/WINDOWS/TEMP/ccpUMpgI.i ************************ cc1.exe *************** /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/cc1.exe /cygdrive/c/WINDOWS/TEMP/ccpUM pgI.i -quiet -dumpbase cprogram.c -version -o /cygdrive/c/WINDOWS/TEMP/ccQWXPQA. s ********************** as.exe **************** /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/as.e xe -o /cygdrive/c/WINDOWS/TEMP/ccZB1x2B.o /cygdrive/c/WINDOWS/TEMP/ccQWXPQA.s ********************* collect2.exe ************* /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2.exe -Bdynamic --dll-search -pr efix=cyg -o cprogram.exe /usr/lib/crt0.o -L/usr/local/lib -L/usr/lib -L/usr/lib/ w32api -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 /cygdrive/c/WINDOWS/TEMP/ccZB1 x2B.o -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc *********************************************** However, if I run these programs with the given parameters (exactly) manually, it shows that already cpp0.exe (the preprocessor) creates the following output: ********* BASH: syntax error near unexpected token `-Asystem(w' ********* Has anybody an idea? -- 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/