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)
Tue, Nov 26, 2:03 AM
Unknown Object (File)
Mon, Nov 11, 12:22 AM
Unknown Object (File)
Oct 20 2024, 3:05 PM
Unknown Object (File)
Oct 2 2024, 7:57 AM
Unknown Object (File)
Sep 22 2024, 12:53 PM
Unknown Object (File)
Sep 18 2024, 12:33 AM
Unknown Object (File)
Sep 18 2024, 12:32 AM
Unknown Object (File)
Sep 18 2024, 12:32 AM

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).