xfbuild, optlink and pragma(lib)
Trass3r
un at known.com
Tue Aug 3 06:12:40 PDT 2010
> run it. Factored out it's the call to SDL_Init(). Is it because of the
> conversion (COFF -> ELF -> OMF; COFF -> OMF wasn't possible) or because
> of my wrong prototype
> export extern(C) { int SDL_Init(Uint32 flags); }
> BTW what does a Acces Violation mean?
Yep, unfortunately the objconv doesn't always work so good, probably
because dmd uses a somewhat modified OMF IIRC.
http://en.wikipedia.org/wiki/Access_violation
More information about the Digitalmars-d-learn
mailing list