Subject: Re: Compiling NetBSD with another compiler.
To: Martin Husemann <martin@duskware.de>
From: Anders Magnusson <ragge@ludd.ltu.se>
List: tech-userlevel
Date: 10/11/2007 12:28:04
Martin Husemann wrote:
> On Thu, Oct 11, 2007 at 04:50:48AM -0400, Thor Lancelot Simon wrote:
>
>> Does this mean that we may not be able to link code generated with, say,
>> gcc against a libc compiled with pcc? Or do I misunderstand what you are
>> saying above?
>>
>
> AFAICT, pcc and gcc use the same way to implement renames, so this does
> not make the ABIs differ, and mixing object code should work.
>
Even more, the renaming occurs before object code is generated, so something
is wrong if the object file ABI differs.
-- Ragge