Subject: Re: Compiling NetBSD with another compiler.
To: None <tech-userlevel@netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: tech-userlevel
Date: 10/11/2007 00:25:53
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.
If you supply patches that add support for renaming supported by lcc or
tcc, I'm sure they will get integrated.
Martin