View Single Post
Old 02 October 2017, 23:27   #73
emufan
Registered User
 
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
Quote:
Originally Posted by grelbfarlk View Post
I guess I wouldn't have to do anything special just have the compiler poop out a new lib*.a?
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

Last edited by emufan; 03 October 2017 at 00:19.
emufan is offline  
 
Page generated in 0.04409 seconds with 11 queries