dmd2 mac os x compilation problem

Batuhan Göksu" <batuhangoksu at gmail.com> Batuhan Göksu" <batuhangoksu at gmail.com>
Sun Sep 8 03:56:09 PDT 2013


Hi Friends,

dmd2 files downloaded at this address.

I took the files to the destination directory in this way.

/usr/dmd2
/usr/dmd2/bin
/usr/dmd2/lib
/usr/dmd2/man
/usr/dmd2/src

edited config file.

[Environment]

DFLAGS=-I/usr/dmd2/src/phobos -I/usr/dmd2/src/druntime/import 
-L/usr/dmd2/lib

A simple example code.

import std.stdio;

void main()
{
     writeln("Hello World");
}

Giving this error when I want to compile.

ld: library not found for -lphobos2
collect2: ld returned 1 exit status
--- errorlevel 1

needed to do to solve this problem?

.dmg file in the destination directory and the installation does 
not want to set up.

sincerely.


More information about the Digitalmars-d mailing list