www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/10/04/22:58:41

Xref: news-dnh.mv.net comp.os.msdos.djgpp:2414
Path: news-dnh.mv.net!mv!news.sprintlink.net!cs.utexas.edu!venus.sun.com!ames!waikato!not-for-mail
From: jpg AT cs DOT waikato DOT ac DOT nz (J P Griffiths)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: can't compile c++
Date: 4 Oct 1995 23:26:55 GMT
Organization: The University of Waikato
Lines: 12
Sender: jpg AT waikato DOT ac DOT nz
References: <DFvJ0J DOT MB6 AT jade DOT mv DOT net>
Reply-To: jpg AT waikato DOT ac DOT nz
Nntp-Posting-Host: neptune.cs.waikato.ac.nz
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Dj-Gateway: from newsgroup comp.os.msdos.djgpp

Chris A. Rodgers (car AT wwa DOT com) wrote:
: Is there a way to make it so that if the source is recognized as C++, that
: it automatically links in the lgpp library without having to pass it in on
: the command line (since all of my .cpp files will have cin and/or cout)?

you could use a makefile for your project with rules for .cpp that
automagically link with -lgpp.  or just write a batch file to add it on.

Hope this helps,
  Jon.


- Raw text -


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