delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/04/12:00:55

Date: Fri, 4 Jun 93 11:37:30 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: stan AT diamond DOT idbsu DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: C++ not working

> The first problem I had was I couldn't find the include files for C.
> So, I copied all the .h files from the older version djgpp I had. Am I
> suppose to do that or the files are hidden some where?

It was a mistake.  The old ones work, or you can get djinc110.zip.

> C:DJ241\PROG>gcc -o test test.cc

You forgot the "-lgpl" switch.  All GPL functions and modules have
been moved to libgpl.a so that they will *not* automatically get used
in an application unless you specify it.  This prevents applications
from unexpectedly becoming GPL'd.  Note that under Unix, you must
specify the "-lg++" all the time.  For djgpp, it's "-lgpl".

- Raw text -


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