[Top][All Lists]

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

Re: [Help-gsl] Using gel in mac os

From: Michael Lehn
Subject: Re: [Help-gsl] Using gel in mac os
Date: Wed, 6 Aug 2014 15:04:51 +0200

Am 06.08.2014 um 14:53 schrieb rio <address@hidden>:

> 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

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

… so try




> 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

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