mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-13 16:27:54 +00:00
Rename code and application binary to cgminer version 1.0.9 preempting version 1.1.0, moving main code to main.c.
This commit is contained in:
parent
8f098e4ab4
commit
91f9c527ba
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,7 +1,9 @@
|
||||
|
||||
cgminer
|
||||
cgminer.exe
|
||||
minerd
|
||||
minerd.exe
|
||||
*.o
|
||||
*.bin
|
||||
|
||||
autom4te.cache
|
||||
.deps
|
||||
@ -28,4 +30,4 @@ mingw32-config.cache
|
||||
|
||||
ext_deps
|
||||
config.h.in
|
||||
config.h
|
||||
config.h
|
||||
|
4
AUTHORS
4
AUTHORS
@ -1,2 +1,2 @@
|
||||
Jeff Garzik <jgarzik@pobox.com>
|
||||
Con Kolivas <kernel@kolivas.org>
|
||||
Original CPU mining software: Jeff Garzik <jgarzik@pobox.com>
|
||||
GPU mining and rewrite: Con Kolivas <kernel@kolivas.org> 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
|
||||
|
14
Makefile.am
14
Makefile.am
@ -13,21 +13,21 @@ SUBDIRS = lib compat
|
||||
|
||||
INCLUDES = $(PTHREAD_FLAGS) -fno-strict-aliasing $(JANSSON_INCLUDES)
|
||||
|
||||
bin_PROGRAMS = minerd
|
||||
bin_PROGRAMS = cgminer
|
||||
|
||||
minerd_SOURCES = elist.h miner.h compat.h \
|
||||
cpu-miner.c util.c \
|
||||
cgminer_SOURCES = elist.h miner.h compat.h \
|
||||
main.c util.c \
|
||||
ocl.c findnonce.c \
|
||||
sha256_generic.c sha256_4way.c sha256_via.c \
|
||||
sha256_cryptopp.c sha256_sse2_amd64.c
|
||||
minerd_LDFLAGS = $(PTHREAD_FLAGS)
|
||||
minerd_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ lib/libgnu.a
|
||||
minerd_CPPFLAGS = @LIBCURL_CPPFLAGS@ -I$(top_builddir)/lib -I$(top_srcdir)/lib
|
||||
cgminer_LDFLAGS = $(PTHREAD_FLAGS)
|
||||
cgminer_LDADD = @LIBCURL@ @JANSSON_LIBS@ @PTHREAD_LIBS@ @OPENCL_LIBS@ lib/libgnu.a
|
||||
cgminer_CPPFLAGS = @LIBCURL_CPPFLAGS@ -I$(top_builddir)/lib -I$(top_srcdir)/lib
|
||||
|
||||
if HAVE_x86_64
|
||||
if HAS_YASM
|
||||
SUBDIRS += x86_64
|
||||
minerd_LDADD += x86_64/libx8664.a
|
||||
cgminer_LDADD += x86_64/libx8664.a
|
||||
AM_CFLAGS = -DHAS_YASM
|
||||
endif
|
||||
endif
|
||||
|
2
README
2
README
@ -29,7 +29,7 @@ Native WIN32 build instructions (on mingw32, on windows):
|
||||
CFLAGS="-O3 -Wall -msse2 -I<path to AMD APP include>" LDFLAGS="-L<path to AMD APP lib/x86>" ./configure
|
||||
make
|
||||
|
||||
Usage instructions: Run "minerd --help" to see options.
|
||||
Usage instructions: Run "cgminer --help" to see options.
|
||||
|
||||
Also many issues and FAQs are covered in the forum thread
|
||||
dedicated to this program,
|
||||
|
@ -1,9 +1,9 @@
|
||||
AC_INIT([cpuminer], [1.0.2])
|
||||
AC_INIT([cgminer], [1.0.9])
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_SRCDIR([cpu-miner.c])
|
||||
AC_CONFIG_SRCDIR([main.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
|
||||
@ -109,8 +109,7 @@ AM_CONDITIONAL([HAS_YASM], [test x$has_yasm = xtrue])
|
||||
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
||||
LIBCURL_CHECK_CONFIG(, 7.10.1, ,
|
||||
[AC_MSG_ERROR([Missing required libcurl >= 7.10.1])])
|
||||
LIBCURL_CHECK_CONFIG(, 7.10.1, , [AC_MSG_ERROR([Missing required libcurl dev >= 7.10.1])])
|
||||
|
||||
AC_SUBST(OPENCL_LIBS)
|
||||
AC_SUBST(JANSSON_LIBS)
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "findnonce.h"
|
||||
#include "ocl.h"
|
||||
|
||||
#define PROGRAM_NAME "minerd"
|
||||
#define PROGRAM_NAME "cgminer"
|
||||
#define DEF_RPC_URL "http://127.0.0.1:8332/"
|
||||
#define DEF_RPC_USERNAME "rpcuser"
|
||||
#define DEF_RPC_PASSWORD "rpcpass"
|
||||
@ -1313,8 +1313,8 @@ static void show_usage(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
printf("minerd version %s\n\n", VERSION);
|
||||
printf("Usage:\tminerd [options]\n\nSupported options:\n");
|
||||
printf("cgminer version %s\n\n", VERSION);
|
||||
printf("Usage:\tcgminer [options]\n\nSupported options:\n");
|
||||
for (i = 0; i < ARRAY_SIZE(options_help); i++) {
|
||||
struct option_help *h;
|
||||
|
Loading…
Reference in New Issue
Block a user