delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/03/18/12:26:28

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199803181724.AA108781862@typhoon.rose.hp.com>
Subject: Re: Bugs in 2.8.0?
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Wed, 18 Mar 1998 9:24:22 PST
Cc: robert DOT hoehne AT gmx DOT net, dj AT delorie DOT com, djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.980318160638.21675F-100000@is>; from "Eli Zaretskii" at Mar 18, 98 4:07 pm
Reply-To: andrewc AT rosemail DOT rose DOT hp DOT com

> Why do we need to always link in crtf.o?  Isn't it *only* for C++
> programs?
My guess was that exception handling should work in c programs as well,
but a quick test seems to show that its c++ only.  I don't have
any docs to go off of though.

>  (Can we know, on the lib/specs level, that this is a C++
> program?)  
I don't see how we could possible know this.  The only way I can think 
of is to do the collect2  way of dissecting the object file to 
see what it is.

> Also, don't we need crt0.o to be the first one of the two?
I didn't think that the order of .o files mattered on the link line.

- Raw text -


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