Re: Cannot compile my first Cygwin program

2002-10-30 Thread jblazi
Right - This version of gcc is either not from Cygwin at all, or is truly ancient. You should probably remove your Cygwin install and install the latest version. I downloaded and installed cygwin yesterday. So what exactly should I do? TIA, -- Janos Blazi -- Unsubscribe info:

Re: Cannot compile my first Cygwin program

2002-10-30 Thread Max Bowsher
From: jblazi [EMAIL PROTECTED] I downloaded and installed cygwin yesterday. So what exactly should I do? Where did you download Cygwin from? Because that version of gcc is definitely not from any Cygwin release in the past 3 years or so. Max. -- Unsubscribe info:

Re: Cannot compile my first Cygwin program

2002-10-30 Thread Janos Blazi
Now everything works. I knew that I had never downloaded gcc before; but I downloaded Free Pascal maybe a year ago and they had this old version of gcc included. Now I get d:\cygwin\home\Administrator\c-programmegcc -v gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured

Re: Cannot compile my first Cygwin program

2002-10-30 Thread David Starks-Browning
On Wednesday 30 Oct 02, Janos Blazi writes: Now everything works. ... and I could compile my test.cpp. Congratulations. Now for the next lesson: don't call your test application test (or test.exe). You will probably have difficulty distinguishing it from the bash shell builtin test and

Cannot compile my first Cygwin program

2002-10-29 Thread jblazi
I am trying to compile my first cygwin application. Here is my command line: gcc -I /cygwin/usr/include/sys test.c -o test.exe and I get the error message gcc: installation problem, cannot exec 'cc1.plus': No such file or directory Can anybody help me? TIA, -- Janos Blazi -- Unsubscribe

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Max Bowsher
jblazi [EMAIL PROTECTED] wrote: I am trying to compile my first cygwin application. Here is my command line: gcc -I /cygwin/usr/include/sys test.c -o test.exe and I get the error message gcc: installation problem, cannot exec 'cc1.plus': No such file or directory Can anybody help me?

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Elfyn McBratney
I am trying to compile my first cygwin application. Here is my command line: gcc -I /cygwin/usr/include/sys test.c -o test.exe Try this instead: gcc -I/cygwin/usr/include test.c -o test.exe or gcc test.c -o test.exe -I/cygwin/usr/include (by the way you don't need to add the .exe on the

Re: Cannot compile my first Cygwin program

2002-10-29 Thread jblazi
On Tuesday 29 October 2002 22:57, Elfyn McBratney wrote: Try this instead: gcc -I/cygwin/usr/include test.c -o test.exe or gcc test.c -o test.exe -I/cygwin/usr/include So I did and now I receive a different set of error messages: d:\cygwin\home\Administrator\c-programmegcc

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Max Bowsher
jblazi [EMAIL PROTECTED] wrote: On Tuesday 29 October 2002 22:57, Elfyn McBratney wrote: Try this instead: gcc -I/cygwin/usr/include test.c -o test.exe or gcc test.c -o test.exe -I/cygwin/usr/include The -I option shouldn't be needed at all. So I did and now I receive a different set

Re: Cannot compile my first Cygwin program

2002-10-29 Thread Dockeen
Max Bowsher made a very important point from a diagnostic point, he said: Run the command gcc -v and post the output. This may give a tipoff if something is wrong with your gcc install. Also run: which gcc and give the results. This will tell us where gcc is coming from, and whether there