Date: Fri, 23 Oct 1998 09:16:13 -0700 From: John Polstra <jdp@polstra.com> To: jin@george.lbl.gov Cc: hackers@FreeBSD.ORG Subject: Re: ld for loading dynamic library changed in 3.0-RELEASE? Message-ID: <199810231616.JAA27345@austin.polstra.com> In-Reply-To: <199810231452.HAA04643@george.lbl.gov> References: <199810231452.HAA04643@george.lbl.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199810231452.HAA04643@george.lbl.gov>, Jin Guojun (FTG staff) <jin@george.lbl.gov> wrote: > P.S. By the way, there is another problem was found in 3.0 RELEASE, > the aout/ld complains that the libX11.a has bag magic, even > the file and objformat all confirmed the libX11.a is in aout format. No. You are not using objformat correctly, as I noticed from the output you sent me in private mail. It is not correct to type "objformat filename" to get the format of the file. Your libX11.a is almost certainly in ELF format. As to the output of "file", there is very little difference between a.out and ELF *.a files. The difference is in the *.o files that they contain. And the "file" command doesn't look at those. You are not going to like hearing this, but: you need to slow down, take a deep breath, stop frantically trying things, and study some manual pages. The problems you've described have all been due to your confusion about which tools (a.out or ELF) you're using, and how those tools work. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810231616.JAA27345>