Page MenuHomeFreeBSD

Support out-of-tree binutils with in-tree compiler
ClosedPublic

Authored by emaste on Feb 26 2015, 7:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 10 2024, 1:38 AM
Unknown Object (File)
Dec 31 2023, 5:10 PM
Unknown Object (File)
Dec 25 2023, 4:22 AM
Unknown Object (File)
Dec 16 2023, 3:34 PM
Unknown Object (File)
Dec 16 2023, 3:34 PM
Unknown Object (File)
Nov 2 2023, 9:25 AM
Unknown Object (File)
Sep 29 2023, 4:12 AM
Unknown Object (File)
Sep 5 2023, 10:47 PM

Details

Summary

Right now CROSS_BINUTILS_PATH is honoured only when XCC is set, i.e. an out-of-tree compiler. Allow CROSS_BINUTILS_PATH to pass through to a -B option also when using the in-tree compiler.

I think this could be named just BINUTILS_PATH, but the existing CROSS_BINUTILS_PATH could as well. Since they have the same meaning I used the existing, if somewhat confusing, name.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste retitled this revision from to Support out-of-tree binutils with in-tree compiler.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: bapt.
emaste added a subscriber: Unknown Object (MLST).

This supports aarch64 builds by installing the aarch64-binutils port and adding CROSS_BINUTILS_PREFIX=/usr/local/aarch64-freebsd/bin/ to the make command line.

bapt edited edge metadata.

Looks ok to me

This revision is now accepted and ready to land.Feb 26 2015, 7:55 PM
imp added a reviewer: imp.
imp added a subscriber: imp.

looks good to me. I've reviewed this in the past as well...

emaste updated this revision to Diff 3999.

Closed by commit rS279328 (authored by @emaste).