Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 1998 10:11:13 -0700 (PDT)
From:      Jin Guojun (FTG staff) <jin@george.lbl.gov>
To:        jdp@polstra.com
Cc:        hackers@FreeBSD.ORG
Subject:   Re: ld for loading dynamic library changed in 3.0-RELEASE?
Message-ID:  <199810231711.KAA07769@george.lbl.gov>

next in thread | raw e-mail | index | archive | help
> 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.
> 
> 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.

There is no manual page for objformat. BUt by looking the code, I see
objformat just looking for environmrent or /etc/objformat to tell
what format should be used by compiler and linker. It was confused
when you told me to use objformat.

By looking into /usr/lib, I see the default libraries are in elf format.
The aout format libraries are in /usr/lib/aout which has missing X11/lib.

So, a couple of questions for this ld issue:

Will aout/{cc, ld} system co-exists with elf system in the future release?

Will elf/ld be modified to behave like other regular ld (or aout/ld)
not trying to resolve the unused symbols?

Thanks,

	-Jin


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?199810231711.KAA07769>