gcc - Library -m64 cannot be found while installing GotoBLAS2 -


i use following command install gotoblas2 on mbp: make target=nehalem binary=64. @ end, keeps giving me following error:

/bin/sh: lapack-3.1.1/make.inc: no such file or directory make: [lapack-3.1.1/make.inc] error 1 (ignored) /bin/sh: lapack-3.1.1/make.inc: no such file or directory make: [lapack-3.1.1/make.inc] error 1 (ignored) /bin/sh: lapack-3.1.1/make.inc: no such file or directory make: [lapack-3.1.1/make.inc] error 1 (ignored) make: *** lapack-3.1.1: no such file or directory.  stop. make: [netlib] error 2 (ignored) make -j 4 -c exports dyn perl ./gensymbol osx x86_64 _ 1 0 > osx.def gcc -o2 -dexprecision -m128bit-long-double -wall -m64 -df_interface_gfort -fpic  -dsmp_server -dmax_cpu_number=4 -dasmname= -dasmfname=_ -dname=_ -dcname= -dchar_name=\"_\" -dchar_cname=\"\" -dno_affinity -i.. -all_load -dynamiclib -o libgoto2_nehalemp-r1.13.dylib ../libgoto2_nehalemp-r1.13.a -wl,-exported_symbols_list,osx.def  -l   ld: library not found -l-m64 collect2: ld returned 1 exit status make[1]: *** [libgoto2_nehalemp-r1.13.dylib] error 1 make: *** [shared] error 2 

obviously, says cannot find m64 library, thing manually compile codes -m64 flag. example, consider following code:

#include <stdio.h> int main(){     double x = 64;     double y = 12.5;     printf("%5.2f\n", x * y);     return 0; } 

i compile code using gcc test.c -o test -m64 , runs smoothly without error. so, believe m64 has been installed.

i using osx 10.8.3, core i5, 64 bit mbp.

any os appreciated. thanks


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -