Am 06.08.2014 um 14:53 schrieb rio <[email protected]>:

> Hi :-) 
> 
> I installed gel by brew in mac os 10.8.6.
> I want to compile this code : http://codepad.org/Z8uC8KPA
> 
> 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

So the executable created by the compiler is called a.out …

… so try

./a.out

Cheers,

Michael


> 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,
> Rio
> 


Reply via email to