🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #528

Which of two functions gets linked?

#528
From: Mark Taylor
Date: Mon, 12 Jul 2004 21:16
9 lines
998 bytes
Hi all,

When an identical function is defined in a .lib file and in a .c file, 
is there a way to control which one is linked in by the PowerPC Mach-O 
linker?  It seems to be random and uncontrollable, but perhaps I am 
missing something?

Thanks very much,
- Mark Taylor
Technical Details
Message-ID: <user02.20.mdt-0ED944.16165012072004@corp.supernews.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!user02.20.mdt

Show Full Headers
Complete Article Headers
X-Google-Thread: f635e,43a4bcab7f7311b8,start
X-Google-Thread: 10bcce,43a4bcab7f7311b8,start
X-Google-Attributes: gidf635e,gid10bcce,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!user02.20.mdt
From: Mark Taylor <user02.20.mdt@spamgourmet.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Which of two functions gets linked?
Date: Mon, 12 Jul 2004 16:16:53 -0500
Organization: (none)
Message-ID: <user02.20.mdt-0ED944.16165012072004@corp.supernews.com>
User-Agent: MT-NewsWatcher/3.4 (PPC Mac OS X)
X-Complaints-To: abuse@supernews.com
Lines: 9