dmd on ubuntu 64: how to unittest phobos with -m32?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 6 07:18:31 PDT 2015


So I am trying to unittest phobos in its 32-bit build on a Ubuntu64 
machine. I installed these additional packages:

sudo apt-get install libc6-dev-i386 libcurl3:i386

When I try to unittest a phobos module, e.g.:

make -f posix.mak MODEL=32 std/conv.test

I get:

/usr/bin/ld: cannot find -lcurl

What do I need to do to link libcurl/32 properly on my 64-bit platform? 
I've searched around for a while, no avail.


Thanks,

Andrei


More information about the Digitalmars-d mailing list