Project

General

Profile

Bug #11461

should use a native link-editor during the build

Added by Rich Lowe about 1 month ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

We should build a native link-editor and its dependencies in usr/src/tools and use them during the rest of the build. This way new features in the link-editor can be used immediately in our tree.

History

#1

Updated by Rich Lowe about 1 month ago

We have to accomplish this via adding a flag to cw(1) to specify the link-editor to use, and then having cw(1) set LD_ALTEXEC in the environment.

This is because GCC when built using --with-ld (as is common), cannot be made to search for ld in the directories specified by -B, the configured ld is hard-coded and unavoidable.

Also available in: Atom PDF