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: 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.