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)
Sat, Jan 18, 8:56 PM
Unknown Object (File)
Mon, Jan 6, 8:37 PM
Unknown Object (File)
Sun, Dec 29, 6:39 AM
Unknown Object (File)
Dec 20 2024, 10:28 AM
Unknown Object (File)
Dec 11 2024, 10:14 PM
Unknown Object (File)
Nov 26 2024, 2:03 AM
Unknown Object (File)
Nov 11 2024, 12:22 AM
Unknown Object (File)
Oct 20 2024, 3:05 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).