www.delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |