Linux Emulation in the Future

Joerg Sonnenberger joerg at britannica.bec.de
Thu Sep 1 05:56:11 PDT 2005


On Thu, Sep 01, 2005 at 07:47:23PM +1000, John Duncan wrote:
>    I run a Linux program which carries its own build system and will
>    probably never have the appropriate elf notes and needs branding.I
>    notice on FreeBSD that brandelf is used by the ports system.

You don't use GCC for linking? That would be enough to ensure that the
correct crt* files are picked up and linked in. It is a bad idea to not
do so, the unability to reliable detect the OS version is one of them.
You might have a problem when dealing with statically linked libc5
programs, but that can be fixed as well if you have the ability to
relink it by manually adding the needed sections.

Nevertheless, while brandelf is not going away, I consider it
deprecated.

Joerg





More information about the Users mailing list