Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2000 18:04:52 -0700 (PDT)
From:      Kris Kennaway <kris@freebsd.org>
To:        arch@freebsd.org
Subject:   MACHINE_CPU
Message-ID:  <Pine.BSF.4.21.0004211802040.61323-100000@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Hi guys,

I want to enable support for CPU-specific assembler code in things like
libgmp, openssl, etc, which requires knowledge of the target CPU type (not
just the architecture). For example, OpenSSL only includes asm code for
pentium and above, so we can't just build it if MACHINE_ARCH == "i386".

The obvious way to do this is to add a MACHINE_CPU to sys.mk and add a
shadow TARGET_CPU in Makefile.inc1. Any objections to this approach?

Kris

----
In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004211802040.61323-100000>