Sponsored link Serve your customers, not your servers, with VERIO Linux VPS. Full-access test-drive here. |
A bit prematureA bit prematurePosted Mar 28, 2008 16:20 UTC (Fri) by landley (subscriber, #6789)In reply to: A bit premature by clugstj Parent article: Striking gold in binutils
> This is a far cry from a replacement for GNU ld which links dozens of > processors' code in at least a half dozen different file formats. 1) Isn't the unix way "do one thing and do it well"? 2) Shouldn't Linux Weekly News be most interested in the tools and formats used by _Linux_? (Is it still interesting to have an ld mode to produce a.out code? I tried to produce a static a.out binary with gcc 4.1.2 and couldn't figure out how in the first hour of trying, and google didn't pull anything up either. How interesting is the ability to produce other binary formats last used by discontinued Hewlett Packard minicomputers from 1986?) 3) The way "binflat" files is created is to make an ELF file, then have a second tool produce a second file from the ELF file. Same for the kernel producing zImage files from the ELF format vmlinux. Much of what GNU ld is doing may not actually actually a good idea...
(Log in to post comments)
A bit premature Posted Mar 28, 2008 22:43 UTC (Fri) by nix (subscriber, #2304) [Link] GNU ld *does* only one thing: it links. It doesn't actually know much about object file formats (as you doubtless know, that job is left to libbfd). ld's real problem is *age*: its design predates ELF, and it shows. Its design meshes quite well with COFF, but who uses that naymore? (And I use the ihex ld target on a fairly regular basis. Maybe there are other ways to do the same thing, but it works for me...)
Who uses COFF? Posted Apr 5, 2008 14:22 UTC (Sat) by anton (guest, #25547) [Link] Last I looked, Windows and Tru64 Unix (possibly also other proprietary Unices).
A bit premature Posted Mar 30, 2008 21:40 UTC (Sun) by AJWM (subscriber, #15888) [Link] >> This is a far cry from a replacement for GNU ld which links dozens of >> processors' code in at least a half dozen different file formats. >1) Isn't the unix way "do one thing and do it well"? Yes, but remember, GNU's Not Unix. While it's often an improvement, it does have some idiosyncrasies that drive me crazy (like the insistance on having man pages that basically say 'see the info document', for example).
A bit premature Posted Mar 31, 2008 0:12 UTC (Mon) by nix (subscriber, #2304) [Link] Er, most GNU software has had better manpages than that for many years (derived automatically from the texinfo, just as the info is).
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.