From: kagel AT quasar DOT bloomberg DOT com Date: Wed, 30 Oct 1996 18:04:26 -0500 Message-Id: <9610302304.AA04565@quasar.bloomberg.com > To: arthurs AT gpu11 DOT gpu DOT nec DOT com DOT tw Cc: djgpp AT delorie DOT com In-Reply-To: <556e65$98q@voyager.iii.org.tw> (arthurs@gpu11.gpu.nec.com.tw) Subject: Re: C++ won't work! Reply-To: kagel AT dg1 DOT bloomberg DOT com Errors-To: postmaster AT bloomberg DOT com From: arthurs AT gpu11 DOT gpu DOT nec DOT com DOT tw (Arthur Sung) Newsgroups: comp.os.msdos.djgpp Date: Wed, 30 Oct 96 15:23:20 GMT Organization: SEEDNET InterNetNews News System Lines: 22 References: Nntp-Posting-Host: 192.72.141.144 X-Newsreader: News Xpress Version 1.0 Beta #4 Dj-Gateway: from newsgroup comp.os.msdos.djgpp Content-Type: text Content-Length: 736 I have problems on compiling C++ programs with GCC, and this is what I have tried. ******** Compiling Result ********* L:\ap5\arthur\DJGPP\ARTHUR_C>gcc test.cpp -lalleg Make that: gcc test.cpp -lalle -liostream OR BETTER YET: gxx test.cpp -lalleg BTW you should normally add a "-o test.exe" to either of these so that you do not have to manually convert the COFF format a.out file. -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats