[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-port-mac68k
Subject:    Re: Postgresql-server compile failes on mac68k
From:       Frederick Bruckman <fredb () immanent ! net>
Date:       2003-09-27 18:10:18
[Download RAW message or body]

On Sat, 27 Sep 2003, Rémi Zara wrote:

> The problem was that with ELF, there are no more '_' before symbol
> names.
> So here is the patch to make postgresql-server compile on mac68k:
>
> But this patch is a hack, since it should handle all different m68k
> plateforms.

So... instead of simply eliding the underscore ("_"), use the
_C_LABEL() macro defined in <machine/asm.h>. E.g., _C_LABEL(tas) will
automagically become "_tas" or "tas" for a.out or ELF, respectively.

Frederick

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic