🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50028

Re: Undefined symbols

#50028
From: Ronald F. Guilmette
Date: Mon, 29 Nov 1993 01:16
17 lines
1461 bytes
tab@piis05.joanneum.ac.at (Behnam Tabatabai) writes:

>Is it possible to prevent gcc from deleting the executable file
>if it encounters any undefined or multiply defined symbols?

For most linkers the -r option prevents deletion of a resulting object
file which still has undefined externals.

In the case where you have multiply-defined externals... well... let me
assure you that under no circumstances do you EVER want to save those.
They are bogus.  Pure and simple.

-- 

-- Ronald F. Guilmette, Sunnyvale, California -------------------------------
------ domain address: rfg@netcom.com ---------------------------------------
------ uucp address: ...!uunet!netcom.com!rfg -------------------------------
Technical Details
Message-ID: <rfgCH8BK6.Bx0@netcom.com>
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!sgigate.sgi.com!olivea!hal.com!decwrl!netcomsv!netcom.com!rfg
References: <gnusenet2csubkINNi3q@fstgds15.tu-graz.ac.at> <9333101.763@mulga.cs.mu.OZ.AU>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d904761d3a98c78a
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-28 19:10:10 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!sgigate.sgi.com!olivea!hal.com!decwrl!netcomsv!netcom.com!rfg
From: rfg@netcom.com (Ronald F. Guilmette)
Subject: Re: Undefined symbols
Message-ID: <rfgCH8BK6.Bx0@netcom.com>
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
References: <gnusenet2csubkINNi3q@fstgds15.tu-graz.ac.at> <9333101.763@mulga.cs.mu.OZ.AU>
Distribution: gnu
Date: Mon, 29 Nov 1993 01:16:54 GMT
Lines: 17