From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 9 16:27:41 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7050A16A41F for ; Fri, 9 Sep 2005 16:27:41 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2388B43D49 for ; Fri, 9 Sep 2005 16:27:36 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.4/8.13.4) with ESMTP id j89GRaBG001535; Fri, 9 Sep 2005 09:27:36 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.4/8.13.1/Submit) id j89GRZT5001534; Fri, 9 Sep 2005 09:27:35 -0700 (PDT) (envelope-from obrien) Date: Fri, 9 Sep 2005 09:27:35 -0700 From: "David O'Brien" To: Michael Hopkins Message-ID: <20050909162735.GA1493@dragon.NUXI.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Cc: "freebsd-amd64@freebsd.org" Subject: Re: AMD Core Math Library X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-amd64@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 16:27:41 -0000 On Fri, Sep 09, 2005 at 12:16:18PM +0100, Michael Hopkins wrote: > I am wanting to link BLAS/LAPACK routines to the optimised libraries > available from AMD (ACML 2.7) and Intel (MKL 7.2.1) and was wondering if > anyone else had done this successfully or had any advice for me. ... > There are three distinct build/link scenarios: > 1) Natively on FreeBSD amd64 (using Athlon64/Opteron, hence ACML) > 2) Cross-compiling to 32-bit Linux (Intel & AMD with > /compat/linux/usr/bin/cc) > 3) Cross-compiling to Win32 (Intel & AMD with /usr/local/mingw32/bin/cc) mingw32 produces fully native PE Win32 applications vs. cygwin, correct? So you'll need the Win32 version of ACML to do this. I don't recall if there is one, but if so it should "just work" in this cross build environment. > As both the libraries are intended for Linux, I am not sure of the > implications for (1) & (3) - though the earlier replies to this thread seem > to suggest no problem for (1) at least. I've done (1) with no problems. -- -- David (obrien@FreeBSD.org)