From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin v. Loewis" To: shalomp@netvision.net.il Cc: help-gcc@gnu.org Subject: Re: running gnu compiler Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <200002222347.AAA00727@loewis.home.cs.tu-berlin.de> References: <001501bf7d57$284b1820$65a3003e@default> X-SW-Source: 2000-q1/msg00271.html Message-ID: <20000401000000.JQA0L5LKpBbuDt5tGTIT1ulrLGTv2OUZ7f8Wu2Ni58M@z> > I recently purchased the GNU C++ compiler and succeeded in > installing it. However, how is one supposed to begin running it? And > does it work through the Borland font, the MS-DOS, or do I just not > know how to open it? What exactly did you purchase, and where did you purchase it? I'll assume for the moment that it was the "GNU Software for MS-Windows and MS-DOS and Compatible Systems" from the FSF. If so, you got the Delorie port, DJGPP. You can find online information about it at http://www.delorie.com/djgpp/ Essentially, you invoke the compiler by invoking 'gcc' from the command line. You should have saved the source code in files, and then invoke, say, gcc -Wall -o myprog.exe mymain.c mysub1.c mysub2.c This will compile mymain.c, mysub1.c and mysub2.c, and produce an executable program myprog.exe. There are much more command line options; you'll find those in the "texinfo documentation". Hope this helps, Martin