> Hi Felix, > > On 2017-10-18 10:23, [email protected] wrote: > >@@ -597,7 +597,6 @@ EOF > > (set! objc-mode #t) ] > > [(-static) > > (set! translate-options (cons "-static" translate-options)) > >- (set! link-options (cons "-static" link-options)) > > (set! static #t)] > > Unless I'm mistaken this will cause "csc -static" to stop producing > static executables. I think I probably don't understand the motivation > for this change, could you elaborate?
The old -static passed it on to gcc, which will then link all libs statically (including libc). But what we really want is to link static eggs and libchicken.a, thus removing dependencies on the chicken runtime libs. Linking libc statically creates huge executables (and the static glibc stills seems to load code at runtime...). Folks who really want totally static executables should do the sane thing and use musl for this. Alternatively one can still do "-L -static". felix _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
