Thanks for the info. The issue is a FreeBSD 6.2 system that unfortunately can't be upgraded. Do you think it will run if it's compiled on an x86 FreeBSD 8.4 system and moved to the 6.2 system?

-Tyler

On Thursday, 27 March 2014 at 18:16:18 UTC, Joakim wrote:
On Thursday, 27 March 2014 at 14:29:25 UTC, Tyler wrote:
Hi,
I need to compile a D program in FreeBSD. I've followed the FreeBSD instructions. So far, dmd is creating the obj file, but there appears to be a problem with the linker. The error messages are very cryptic. I was hoping someone might have an idea what they mean and what I'm doing wrong here.

<CODE>
$ more hello.d
import std.stdio;

int main(string[] args)
{
   writefln("Hello World\n");
       return 0;
}
$ uname -a
FreeBSD freebsd 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 [email protected]:/usr/obj/usr/src/sys/GENERIC i386

That is a very old FreeBSD release. dmd from ports doesn't even compile for anything less than FreeBSD 8. I suggest you at least upgrade to 7-stable, better another release branch completely.

Reply via email to