View Single Post
Old 03 October 2017, 00:39   #74
grelbfarlk
Registered User
 
Join Date: Dec 2015
Location: USA
Posts: 2,917
Quote:
Originally Posted by emufan View Post
yes, if you have some ./configure script, look for "build static" options enabled.
./configure --help

somethings like --enable-static
should be set. sometimes it is enabled on default.

#1) might be of good use:
Code:
CC=ppc-amigaos-gcc CFLAGS="-warpup -DNDEBUG -I/include/dir" ./configure --enable-static
i often got annoyed by some assert functions. results were some unresolved "eprintf" thing, IIRC,
you should disable assert using -DNDEBUG
Yeah those modern configure scripts are-yeeesh. 700kb configure script for a 15kb lib.a. Most of them crash on the Amiga and UAE so I ended up just giving up and guessing on how to make my own makefile. The libjpeg and libpng ones are the same.
grelbfarlk is offline  
 
Page generated in 0.04599 seconds with 11 queries