gcc46 --version incompatible with bsd.compiler.mk
Gerald Pfeifer
gerald at pfeifer.com
Mon Oct 15 16:32:50 UTC 2012
- Previous message: gcc46 --version incompatible with bsd.compiler.mk
- Next message: HP, Samsung, Lexmark, Xerox, Minolta, OKI, Develop, Kyocera, Epson, Sharp, Philips, Ricoh, Olivetti, Dell and many more
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Fri, 12 Oct 2012, Andriy Gapon wrote:
> $ gcc46 --version
> gcc46 (FreeBSD Ports Collection) 4.6.3
>
> I think that the above should have just "gcc" instead of "gcc46". The
> version is reported separately from the compiler name.
I dug into this, and from what I can tell this is basically printing
argv[0], that is, for the C++ frontend it'll say g++46.
(This is also consistent with GCC as the overall project being all
caps since 1999.)
On Mon, 15 Oct 2012, Brooks Davis wrote:
> Alternatively I could alter bsd.compiler.mk to accept gcc[1-9][0-9] as
> gcc. You could also set COMPILER_TYPE to override the check entirely.
That would be preferrable, I'd say. Thanks!
Gerald
- Previous message: gcc46 --version incompatible with bsd.compiler.mk
- Next message: HP, Samsung, Lexmark, Xerox, Minolta, OKI, Develop, Kyocera, Epson, Sharp, Philips, Ricoh, Olivetti, Dell and many more
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freebsd-toolchain
mailing list