I've found a lot of .profile files too and now I am having problems after running ./configure CFLAGS="-O3" CXXFLAGS="-O3", this is the error: " configure: error: GNU MP not found, see
https://gmplib.org/ "
Just a shot in the dark (because I don't own a Mac), but you might want to enter the following in a terminal to (re?)install GNU MP:
sudo port clean gmp
sudo port -t install gmp
Thanks for trying, but didn't work.

You'll probably end up needing to compile GNU MP
from the source, then.
This guide gives you the proper commands (./configure && make && make install), but be aware that you'll need to grab a copy of
autoconf (
sudo port -t install autoconf , maybe?) if OSX doesn't ship with one.
I opened the sites, but I don't understand a dot of it. I am not a programer, so I really need that someone give me all the steps to make this miner work . otherwise I will be forced to give up....

Sorry guys, for all these nuisance...
Not a problem.
You have to download the source (
gmp-6.0.0a.tar.bz2, for example), unzip it, then open a terminal and navigate to that folder in the terminal window. It will probably be named "gmp-6.0.0a".
Within the unzipped folder, you should find "gmp-6.0.0". This folder contains all the files necessary for
autoconf to build a makefile for your system. (You'll notice that the contents are a slew of folders and files, such as
acinclude.m4 and
bootstrap.c.)
From this directory, issue the commands listed in the
tutorial:
./configure
make
make install
That should install GNU MP on your system in whatever the default directory for libraries is on Macs.