www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/12/14/16:15:57

Date: Sun, 14 Dec 1997 16:15:45 -0500 (EST)
Message-Id: <199712142115.QAA02758@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.971214121233.20351D-100000@is> (message from Eli
Zaretskii on Sun, 14 Dec 1997 12:14:36 +0200 (IST))
Subject: Re: Trouble with C++ and interrupt (fwd)

> DJ, is there any magic we could put into lib/specs so that gcc would
> automagically scan libstdcxx and libiostream for C++ programs (.cc, .cpp,
> .cxx files)?  I'm sick and tired of threads like this. 

I was thinking of two hacks:

1. Modify ld to print "You probably should use gxx, or link with
   -lstdcxx" if it detects that "cout" or "cin" are one of the undefined
   symbols.

2. If cpp can't find stdio.h, verify the djgpp environment variable
   points to a real file, and mention that djdev*.zip should be
   installed.

- Raw text -


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