Using gcc as a build dependency only

Kubilay Kocak koobs at FreeBSD.org
Tue Nov 10 22:24:00 UTC 2020


On 11/11/2020 7:55 am, Bob Eager wrote:
> I have a port that, for reasons I won't go into, I build with gcc.
> 
> It all works fine with USE_GCC= yes - no problem.
> 
> The issue is that it's a build dependency and a run dependency. So
> anyone wanting to use it has to install gcc, and is discouraged because
> (a) it's big and (b) it drags in other stuff.
> 
> Presumably this is because it needs the gcc runtime, but I'm not sure.
> And I can't see a runtime package that parallels the compiler.
> 
> Can anyone comment on this? And please don't say 'convert to clang'
> because that isn't possible, at least not yet.

This is being tracked in:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211154


More information about the freebsd-ports mailing list