[Flac-dev] Re: object format detection

Christian Weisgerber naddy at mips.inka.de
Wed Jun 20 13:34:05 PDT 2001


Josh Coalson <xflac at yahoo.com> wrote:

> AC_CANONICAL_HOST
> case "$host" in
>     *) OBJ_FORMAT=elf ;;
> esac

> Any patterns for non-ELF systems would be appreciated.

i386-*-openbsd*) OBJ_FORMAT=aoutb ;;

You'll need to handle OBJ_FORMAT_aoutb (same as OBJ_FORMAT_aout)
in nasm.h.

You may want to verify this with people who actually run NetBSD,
but I think something like this applies as well:

i386-*-netbsd1.[0-4]) OBJ_FORMAT=aoutb ;;

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de




More information about the Flac-dev mailing list