Hello,

On Tue, 17 Nov 2020, James Mills wrote:

Hi guys,
Tried to build sudo with tcc and it fails with:

libtool: link: (cd .libs/sudoers.lax/libparsesudoers.a && ar 
x"/usr/ports/sudo/build/src/sudo-1.9.3p1/plugins/sudoers/./.libs/libparsesud
oers.a")
usage: tcc -ar [rcsv] lib file...
create library ([abdioptxN] not supported).
make[1]: *** [Makefile:277: sudoers.la] Error 1
make[1]: Leaving directory
'/usr/ports/sudo/build/src/sudo-1.9.3p1/plugins/sudoers'
make: *** [Makefile:108: all] Error 2
#

TCCs own 'ar' functionality is very limited, it's not a full replacement.

Is tcc missing a feature needed here? Is there a work-around?

Yes, don't alias 'ar' to 'tcc -ar'.


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to