From cf36f136d5aaf0790489f6c052c99ec235826784 Mon Sep 17 00:00:00 2001 From: Xianyi Zhang Date: Tue, 25 Jan 2011 16:52:36 +0800 Subject: [PATCH] Updated readme for cross compiling. --- README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README b/README index 9014b97c2..23cbdba72 100644 --- a/README +++ b/README @@ -5,8 +5,16 @@ OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenB 2.Intallation check out codes from git://github.com/xianyi/OpenBLAS.git +1)Normal compile Please read GotoBLAS_02QuickInstall.txt or type "make" +2)Cross compile +Please set CC and FC with the cross toolchains. Then, set HOSTCC with your host C compiler. At last, set TARGET explicitly. + +examples: +On X86 box, compile this library for loongson3a CPU. +make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A + 3.Support CPU & OS Please read GotoBLAS_01Readme.txt