Re: Linking the whole archive.
Scott Bailey <[email protected]> Wed, 1 Apr 2009 15:49:51 -0700
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============0248522517433099748== Content-Type: multipart/alternative; boundary=0015174c449c25ed990466862272 --0015174c449c25ed990466862272 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > I'm not discussing a replacement for <library>, this is a modifier >> > like <lib-path>. >> >> It doesn't make sense that way -- surely you don't want to embed _all_ >> libraries, including system ones? It sounds better to explicitly include >> the libraries you need included with <embed-library> instead of >> <library>. Or is that not possible with VC++ project files? >> >> > This modifier applies to <library> tag, not <sys-lib>. It should be > possible to do <embed-library> on a VC++ project. I would ABSOLUTELY prefer > this, but I'm not certain I can muster the hours necessary. Let me > investigate and think about it. > xcode2's linker flag is '-all_load'. There is a '-noall_load' flag, but it is obsolete and does nothing. I had hoped it would perform as the GNU linker's '--no-whole-archive'. While I enjoy the technical challenge of implementing a per library tag (i.e. <embed-library>), it is more work than I can justify. I have a perfectly acceptable method, using <ldflags> and <ldlibs>, in xcode2 AND gnu, but no method for msvs2005prj. Ugh. I'm done thinking about this for today. Comments? --0015174c449c25ed990466862272 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"b= order-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; paddin= g-left: 1ex;"><div class=3D"im"><div class=3D"gmail_quote"><blockquote clas= s=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margi= n: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>> I'm not discussing a replacement for <library>, this is= a modifier<br> > like <lib-path>.<br> <br> </div>It doesn't make sense that way -- surely you don't want to em= bed _all_<br> libraries, including system ones? It sounds better to explicitly include<br= > the libraries you need included with <embed-library> instead of<br> <library>. Or is that not possible with VC++ project files?<br> <font color=3D"#888888"><br> </font></blockquote></div><br></div>This modifier applies to <library>= ; tag, not <sys-lib>.=A0 It should be possible to do <embed-librar= y> on a VC++ project.=A0 I would ABSOLUTELY prefer this, but I'm not= certain I can muster the hours necessary.=A0 Let me investigate and think = about it.<br> <font color=3D"#888888"> </font></blockquote></div><br>xcode2's linker flag is '-all_load= 9;.=A0 There is a '-noall_load' flag, but it is obsolete and does n= othing.=A0 I had hoped it would perform as the GNU linker's '--no-w= hole-archive'.<br> <br>While I enjoy the technical challenge of implementing a per library tag= (i.e. <embed-library>), it is more work than I can justify.=A0 <br><= br>I have a perfectly acceptable method, using <ldflags> and <ldli= bs>, in xcode2 AND gnu, but no method for msvs2005prj.=A0 Ugh.<br> <br>I'm done thinking about this for today.=A0 Comments?<br> --0015174c449c25ed990466862272-- --===============0248522517433099748== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============0248522517433099748== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bakefile-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bakefile-devel --===============0248522517433099748==--