News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Pelle's Forum

Started by dedndave, December 28, 2012, 04:42:08 AM

Previous topic - Next topic

jj2007

Thanks, Michael. So this one doesn't run into an exception. Interesting. Will look into it asap :t

qWord

If I use the static libraries libgslcblas.a and libgsl.a (from the package) with PellesC, it work as expected.
MREAL macros - when you need floating point arithmetic while assembling!

jj2007

Thanks a lot, qWord & Michael & Japheth. I got the small test file working with original .a libraries :t

Right now I am struggling with the Unix "_iob" thing

The simple source compiled fine with the Masm32 msvcrt.lib, and stopped crashing once I replaced fprintf(stderr, "Whatever\n"); with printf ("Whatever\n"); ::)

The more complex source (which I cannot post) now complained about malloc multiply defined... so I had to remove \Masm32\lib\msvcrt.lib from the linker's commandline, which made 'the Unix "_iob" thing' reappear. So I decided to revert to Erol's tools, and to create a tiny msvcrt.lib that contains only (msvcrt.def)
LIBRARY msvcrt
EXPORTS
"__iob_func"
"__p__iob"
"_iob"


Guess what? It works :t