Hey,

I'm still investigating the ranlib problem, however, Ron Lee gave me
some help with this one and it turns out this is wrong:

i586-mingw32msvc-gcc -Os -Wl,--file-alignment,512 -Werror -L. -lpluginapi 
sm_cleanboot.c -shared -o sm_cleanboot.dll

Because -L needs to point at the nsis lib dir instead of the work dir.

Because the -l needs to go after the input source file.

Also, -Werror is considered harmful with stuff being compiled by distros.

Use this instead:

i586-mingw32msvc-gcc -Os -Wl,--file-alignment,512 sm_cleanboot.c -shared -o 
sm_cleanboot.dll -L/usr/i586-mingw32msvc/lib/nsis -lpluginapi

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to