www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/05/10:05:48

Date: Tue, 5 Jan 93 09:43:13 EST
From: DJ Delorie <dj AT ctron DOT ctron DOT com>
To: bergman AT panix DOT com
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Link order problem

If you're linking .o's, order is not significant.  It IS significant
where .a's are concerned.  When the linker encounters a .a, it only
brings in modules that are needed AT THAT POINT in the link.  Any .o's
after the library are out of luck if they need more modules from that
library.

DJ

- Raw text -


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