[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Using gel in mac os

From: rio
Subject: [Help-gsl] Using gel in mac os
Date: Wed, 6 Aug 2014 17:23:38 +0430

Hi :-) 

I installed gel by brew in mac os 10.8.6.
I want to compile this code :

This error happened.

rio:testing rio$ gcc -Wall -I /usr/local/include/ -c example.c 
rio:testing rio$ gcc -L/usr/local/lib example.o -lgsl -lgslcblas -lm
rio:testing rio$ ./example.o
-bash: ./example.o: Permission denied
rio:testing rio$ chmod +x example.o
rio:testing rio$ ./example.o
-bash: ./example.o: Malformed Mach-o file

Best regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]