mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 16:34:23 +00:00
Recommend O2 instead of O3 since it can make windows binaries fail.
This commit is contained in:
parent
05dadc9051
commit
4daca363f0
8
README
8
README
@ -40,9 +40,9 @@ If you are on 32 bit, x86_64 in the 2nd last line should be x86
|
|||||||
To actually build:
|
To actually build:
|
||||||
|
|
||||||
./autogen.sh # only needed if building from git repo
|
./autogen.sh # only needed if building from git repo
|
||||||
CFLAGS="-O3 -Wall -march=native" ./configure
|
CFLAGS="-O2 -Wall -march=native" ./configure
|
||||||
or if you haven't installed the ati files in system locations:
|
or if you haven't installed the ati files in system locations:
|
||||||
CFLAGS="-O3 -Wall -march=native -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86_64> ./configure
|
CFLAGS="-O2 -Wall -march=native -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86_64> ./configure
|
||||||
make
|
make
|
||||||
|
|
||||||
If it finds the opencl files it will inform you with
|
If it finds the opencl files it will inform you with
|
||||||
@ -51,7 +51,7 @@ If you are on 32 bit, x86_64 in the 2nd last line should be x86
|
|||||||
Basic WIN32 build instructions (on Fedora 13; requires mingw32):
|
Basic WIN32 build instructions (on Fedora 13; requires mingw32):
|
||||||
./autogen.sh # only needed if building from git repo
|
./autogen.sh # only needed if building from git repo
|
||||||
rm -f mingw32-config.cache
|
rm -f mingw32-config.cache
|
||||||
MINGW32_CFLAGS="-O3 -Wall -msse2" mingw32-configure
|
MINGW32_CFLAGS="-O2 -Wall -msse2" mingw32-configure
|
||||||
make
|
make
|
||||||
./mknsis.sh
|
./mknsis.sh
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ Native WIN32 build instructions (on mingw32, on windows):
|
|||||||
Install libcurl, copy libcurl.m4 into /mingw/share/aclocal
|
Install libcurl, copy libcurl.m4 into /mingw/share/aclocal
|
||||||
Run:
|
Run:
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
CFLAGS="-O3 -Wall -msse2 -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86>" ./configure
|
CFLAGS="-O2 -Wall -msse2 -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86>" ./configure
|
||||||
make
|
make
|
||||||
|
|
||||||
Usage instructions: Run "cgminer --help" to see options.
|
Usage instructions: Run "cgminer --help" to see options.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user