delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/17/11:32:49

Xref: news2.mv.net comp.os.msdos.djgpp:3957
From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
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
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                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019