Xref: news2.mv.net comp.os.msdos.djgpp:3957 From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Linker problems Date: Fri, 17 May 1996 11:46:44 +0200 Organization: TU Chemnitz-Zwickau Lines: 19 Message-ID: <319C4B04.5699@Mathematik.tu-chemnitz.de> References: <319A1080 DOT 1E8F AT iplsys DOT com> NNTP-Posting-Host: env.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Fran Corrado wrote: > > > gcc -x c++ -o luna.exe ctlr.o global.o ioMsgs.o mmr.o raid.o scsiDevs.o > -lgpp -lstdcxx -lm Remove the `-x c++'. This overides the gcc builtin language checking for the files at the command line. The above flag tells gcc that all files are C++ source files, but they aren't!! Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************