Subject: Re: Compiling NetBSD with another compiler.
To: Martin Husemann <>
From: Thor Lancelot Simon <>
List: tech-userlevel
Date: 10/11/2007 04:50:48
On Thu, Oct 11, 2007 at 12:25:53AM +0200, Martin Husemann wrote:
> On Wed, Oct 10, 2007 at 11:48:03PM +0300, Aleksey Cheusov wrote:
> > /usr/include/sys/cdefs.h:254: error: "No function renaming possible"
> This is not "fixable" in general - either an external compiler comes with
> it's own libc and headers (or parts thereof), or it needs to understand the
> function renaming used in the libc provided with NetBSD. Since there is no
> common ISO C99 way for doing the renaming, the headers need to be adapted to
> the style of rename pragmas (or whatever) used by every supported compiler.

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?