Michael,

Are you saying if I don't alias ar to tcc -ar it will build?

What am I missing? I need to alias ar to tcc -ar for other builds to work :)

cheers
James

James Mills / prologic

E: prolo...@shortcircuit.net.au
W: prologic.shortcircuit.net.au
Blog:  Read my Blog <https://prologic.blog/>
Twtxt: Follow me on twtxt.net <https://twtxt.net/user/prologic>


On Thu, Nov 19, 2020 at 5:28 AM Michael Matz <matz....@frakked.de> wrote:

> 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
>
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to