pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GCC and as



On 05/16, Jason Bacon wrote:
> While we're waiting for that, how exactly would you suggest changing
> the patch above to check the binutils version instead of the Linux
> distro?

I haven't actually tried, but assuming a binutils binary can print its
version, perhaps something like how lang/oracle-jdk8/builtin.mk executes
"${JDK8} -version" to get the java binary to print its version and then
extracts the needed part of the version string?

Lewis


Home | Main Index | Thread Index | Old Index