Linking on windows

Henning Hasemann hhasemann at web.de
Thu Jun 28 03:09:53 PDT 2007


I'm currently working on a project that uses SDL with a static binding.
Up to know I developed under linux but since it should be
multi-platform I thought it would be a good idea to test it on windows.

The problem is that optlink (link.exe) says the SDL-lib would not be a
valid library (the VC one the mingw one ".a" does not work at all as
expected).

I tried numerous other linkers (lcclnk, the one from VC express, ...)
They in turn dont seem to understand the obj-format produced by dmd, so
I assume that is a special format thats not compatible with VC stuff?

Why does optlink not eat SDL? Do I have to compile it by hand with a
digitalmars C compiler? (Would be a pain for me under windows)

Thanks for any help,

Henning

-- 
GPG Public Key:
http://keyserver.ganneff.de:11371/pks/lookup?op=get&search=0xDDD6D36D41911851
Fingerprint: 344F 4072 F038 BB9E B35D  E6AB DDD6 D36D 4191 1851



More information about the Digitalmars-d mailing list