Check the code in tools/clang/lib/Driver/Tools.cpp. That specifies the
/libexec/ld-elf.so.1.
On Mon, Dec 14, 2015 at 11:06:51PM -0800, Mark Millard wrote:
> # more main.c
> int main()
> {
> return 0;
> }
>
>
>
> # ls -l `which cc`
> -r-xr-xr-x 7 root wheel 54137976 Dec 14 00:06 /usr/bin/
On Mon, Dec 14, 2015 at 11:06:51PM -0800, Mark Millard wrote:
> # more main.c
> int main()
> {
> return 0;
> }
>
>
>
> # ls -l `which cc`
> -r-xr-xr-x 7 root wheel 54137976 Dec 14 00:06 /usr/bin/cc
>
> # cc --version
> FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906
On 2015-Dec-15, at 4:36 AM, Konstantin Belousov wrote:
> On Mon, Dec 14, 2015 at 11:06:51PM -0800, Mark Millard wrote:
> . . .
>> By contrast powerpc64-gcc binds the a.out produced to /libexec/ld-elf32.so.1
>> instead:
>>
>> # ls -l `which gcc`
>> lrwxr-xr-x 1 root wheel 48 Dec 5 05:38 /usr
[This is mostly a re-titling of an earlier freebsd-pcc/freebsd-toolchain
message to correctly identify the problem. I also added the freebsd-ports list
and some content.]
On 2015-Dec-15, at 4:36 AM, Konstantin Belousov wrote:
> On Mon, Dec 14, 2015 at 11:06:51PM -0800, Mark Millard wrote:
>
>
On 12/15/15 10:54 AM, Mark Millard wrote:
> On 2015-Dec-15, at 10:37 AM, Bryan Drewery wrote:
>>
>> On 12/8/15 2:14 PM, Bryan Drewery wrote:
>>> On 12/7/15 1:33 PM, Mark Millard wrote:
> On 2015-Dec-7, at 12:48 PM, Simon J. Gerraty wrote:
>
> Mark Millard wrote:
>> My guess
On 12/8/15 2:14 PM, Bryan Drewery wrote:
> On 12/7/15 1:33 PM, Mark Millard wrote:
>>
>>> On 2015-Dec-7, at 12:48 PM, Simon J. Gerraty wrote:
>>>
>>> Mark Millard wrote:
My guess is that it is picking up the
MAKEOBJDIRPREFIX=/usr/obj/xtoolchain
>>>
>>> You should use ?= if you want
On 2015-Dec-15, at 10:37 AM, Bryan Drewery wrote:
>
> On 12/8/15 2:14 PM, Bryan Drewery wrote:
>> On 12/7/15 1:33 PM, Mark Millard wrote:
>>>
On 2015-Dec-7, at 12:48 PM, Simon J. Gerraty wrote:
Mark Millard wrote:
> My guess is that it is picking up the
>
> MAKEOBJ