bug#79216: Add support for slimcc

[email protected] Thu, 04 Dec 2025 08:51:00 -0700
Newsgroups gmane.comp.gnu.libtool.bugs
Message-ID <[email protected]>
Hi,

Great, thank you!

Arnold

Ileana Dumitrescu <[email protected]> wrote:

> On 11/08/2025 14:49, [email protected] wrote:
> > Hi. This patch to libtool.m4 adds support for the slimcc C compiler. Thanks! --Arnold
> > -----------------------
> > diff --git a/m4/libtool.m4 b/m4/libtool.m4
> > index 79a2451e..6feaf559 100644
> > --- a/m4/libtool.m4
> > +++ b/m4/libtool.m4
> > @@ -4737,6 +4737,12 @@ m4_if([$1], [CXX], [
> >   	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
> >   	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
> >   	;;
> > +      slimcc*)
> > +	# SlimCC - from https://github.com/fuhsnn/slimcc
> > +	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
> > +	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
> > +	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
> > +	;;
> >         pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
> >           # Portland Group compilers (*not* the Pentium gcc compiler,
> >   	# which looks to be a dead project)
> > 
>
> Thank you for the patch! I updated the comment to replace the link to
> GitHub with the authors instead. I also added a simple test file for it.
> It is currently in the development branch, and it will migrate to master
> after some time and testing.
>
> https://cgit.git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=9e33aadb8f249e84fc42374814ef6f40e31278fa
> https://cgit.git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=74bc6f5229b7891e6db6a8cf5ed548064d91d79b
>
> -- 
> Ileana Dumitrescu
>
> GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
>