From: "Alberto Chessa" Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q] c++ library error... Date: 29 Apr 1998 08:22:58 GMT Organization: FIAR S.p.A. Lines: 14 Message-ID: <01bd7348$35acd280$2cc809c0@chessa> References: <35455695 DOT 6E201906 AT cais DOT kaist DOT ac DOT kr> Reply-To: "\"Alberto Chessa\" NNTP-Posting-Host: milano17-3.tin.it To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Dan, Ho Jin wrote in article <35455695 DOT 6E201906 AT cais DOT kaist DOT ac DOT kr>... > when i compiled a simple c++ program with djgpp, i got the error > messages such that > > C:\lang\djgpp\work>gcc -lgpp minprint.cpp > c:/lang/djgpp/tmp\ccdaaaaa(.text+0x1c4):minprint.cc: undefined reference > [...] Simple use "gxx" instead of "gcc"! gxx is the front-end for C++. gcc do not link with the standrd C++ library.