D and FreeBSD
Jona Joachim
jaj13 at web.de
Thu Aug 31 13:50:33 PDT 2006
On Thu, 31 Aug 2006 10:55:44 -0700, Walter Bright wrote:
> Jona Joachim wrote:
>> The Linux version of DMD still produces Linux ELF binaries. I don't think
>> the FreeBSD version of ld can link Linux object files.
>
> So there's a pile of work to be done to support FreeBSD. Sigh - why does
> everyone have to invent their own omf?
Yeah, it's really not making things easy.
Personally I have no idea how much different the FreeBSD ABI is from the
Linux one. I don't have the knowledge and skills to write a compiler
either.
I only know of a document which explains how FreeBSD loads Linux binaries
[1] but this won't help you very much.
However if some day you have some spare time and decide to port DMD to
FreeBSD I am sure that the FreeBSD community will give you all necessary
details if you ask.
About 2 weeks ago somebody wrote on the FreeBSD questions mailing list
that he had talked to a RealPlayer developer and she told him that they
would love to provide native FreeBSD binaries if some FreeBSD experts
assist them. Less than 12h later somebody volunteered to help out.
[1]:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-advanced.html
http://www.freebsd.org/cgi/getmsg.cgi?fetch=1697235+0+/usr/local/www/db/text/1999/freebsd-chat/19990607.freebsd-chat
More information about the Digitalmars-d
mailing list