www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/19/18:08:05

From: "Charles W. Kann" <ckann AT seas DOT gwu DOT edu>
Subject: Multiple references in a link step
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 19 Apr 1995 13:24:22 -0400 (EDT)

I am trying to link a program which has redefined a number of standard
functions (such as malloc).  When I use ld to link, I get a message
that the function has multiple definitions.  I want to use the functions
with the package, not the standard ones.  

If I use the -nonstandard flag, I lose all the definitions.  How can
I get ld to use the redefined functions but still use the standard 
libraries?

Chuck Kann

- Raw text -


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