@samo79
Quote:
ppc-amigaos-gcc -mcrt=newlib -use-static -o dcraw.debug dcraw.o swab.o -llcms -ljasper -ljpeg -lm
Just in case and for future help : should be just "-static", without "use". Yeah, can sounds a bit unlogical, because when you want static version you write just "-static", but when want shared one, you write "-use-dynld".
Anyway, when you remove "-use-dynld", it can build static version by default, but it will be not fully static, if your SDK have any .so of those libxxxx.a (then, compiler will add .so even if you not have -use-dynld).
So, to summorise, should be "-static" only, and recheck all the time your binary in end (just to be sure that there is no surpises).
A bit annoing of course, but users will happy with results :)