digitalmars.D - dmd2 mac os x compilation problem
- "Batuhan =?UTF-8?B?R8O2a3N1Ig==?= <batuhangoksu gmail.com> (26/26) Sep 08 2013 Hi Friends,
- Lionello Lunesu (3/29) Sep 08 2013 Can you try with -m64? You might only have the 64-bit phobos library.
- Nick Sabalausky (4/9) Sep 08 2013 I'm not on Posix ATM, but I think that last arg is supposed to be:
- Paolo Invernizzi (4/14) Sep 08 2013 Yes, it should be -L-L (double checked right now in my OS X).
- "Batuhan =?UTF-8?B?R8O2a3N1Ig==?= <batuhangoksu gmail.com> (4/14) Sep 08 2013 Thank you, Nick Sabalausky
- Jacob Carlborg (4/6) Sep 08 2013 What errors do you get using the installer?
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.
Sep 08 2013
On 9/8/13 18:56, "Batuhan Göksu" <batuhangoksu gmail.com>" wrote:
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.
Can you try with -m64? You might only have the 64-bit phobos library.
L.
Sep 08 2013
On Sun, 08 Sep 2013 12:56:09 +0200 "Batuhan G=F6ksu" <batuhangoksu gmail.com> wrote:[Environment] =20 DFLAGS=3D-I/usr/dmd2/src/phobos -I/usr/dmd2/src/druntime/import=20 -L/usr/dmd2/lib =20I'm not on Posix ATM, but I think that last arg is supposed to be: -L-L/usr/dmd2/lib
Sep 08 2013
On Sunday, 8 September 2013 at 12:00:22 UTC, Nick Sabalausky wrote:On Sun, 08 Sep 2013 12:56:09 +0200 "Batuhan Göksu" <batuhangoksu gmail.com> wrote:Yes, it should be -L-L (double checked right now in my OS X). - Paolo[Environment] DFLAGS=-I/usr/dmd2/src/phobos -I/usr/dmd2/src/druntime/import -L/usr/dmd2/libI'm not on Posix ATM, but I think that last arg is supposed to be: -L-L/usr/dmd2/lib
Sep 08 2013
On Sunday, 8 September 2013 at 12:00:22 UTC, Nick Sabalausky wrote:On Sun, 08 Sep 2013 12:56:09 +0200 "Batuhan Göksu" <batuhangoksu gmail.com> wrote:Thank you, Nick Sabalausky Now seamlessly compiling.[Environment] DFLAGS=-I/usr/dmd2/src/phobos -I/usr/dmd2/src/druntime/import -L/usr/dmd2/libI'm not on Posix ATM, but I think that last arg is supposed to be: -L-L/usr/dmd2/lib
Sep 08 2013
On Sunday, 8 September 2013 at 10:56:11 UTC, Batuhan Göksu wrote:.dmg file in the destination directory and the installation does not want to set up.What errors do you get using the installer? - /Jacob Carlborg
Sep 08 2013









Lionello Lunesu <lionello lunesu.remove.com> 