Node:Configure Make and Install, Next:Alternative builds, Previous:Output, Up:Installing Glucas
The Glucas package includes GNU tools from automake and autoconf and scripts to make the build and install tasks as easy as possible. As usual, the steps are
The configure script checks your system to see how to compile Glucas. You
can see a list of the options available for configure by using
./configure --help
Most of these options are generic for GNU-autoconf configure scripts. Others are specific for Glucas.
--enable-static
This allows to build static binaries. Enter this option if you want to use
statically linked binary.
--enable-pthread[=n]
This option enables Glucas to use POSIX threads. The default for n is 2
.
Glucas will use n
threads. You should not use this feature
unless you have a multiprocessor system.
--enable-openmp[=n]
This option enables Glucas to use OpenMP threads. The default for n is 2
.
Glucas will use n
threads. You should not use this feature
unless you have a multiprocessor system.
--enable-sunmp[=n]
This option enable Glucas to use SunMP threads. The default for n is 2
.
Glucas will use n
threads. You should not use this feature
unless you have a multiprocessor system.
--enable-ytarget[=n]
This option overwrites the value of Y_TARGET
. The default for n is 0
.
This will change the default value for your system by Y_TARGET=n
(See Glucas compiler options.)
--enable-yaval[=n]
This option overwrites the value of Y_AVAL
. The default for n is 3
.
This will change the default value for your system to Y_AVAL=n
(See Glucas compiler options.)
--ymem_threshold[=n]
This option overwrites the value of Y_MEM_THRESHOLD
. The default for n is 2048
.
This will change the default value for your system to Y_MEM_THRESHOLD=n
(See Glucas compiler options.)
--enable-yblocksize[=n]
This option overwrites the value of Y_BLOCKSIZE
. The default for n is 512
.
This will change the default value for your system to Y_BLOCKSIZE=n
(See Glucas compiler options.)
--enable-yshift[=n]
This option overwrites the value of Y_SHIFT
. The default for n is 8
.
This will change the default value for your system to Y_SHIFT=n
(See Glucas compiler options.)
--enable-ycache_line[=n]
This option overwrites the value of Y_CACHE_LINE
. The default for n is 4
.
This will change the default value for your system to Y_CACHE_LINE=n
(See Glucas compiler options.)
--enable-ysecure
This option enables Y_SECURE
. By default this is disabled.
(See Glucas compiler options.)
--enable-yminimum
This option enables Y_MINIMUM
. By default this is disabled.
(See Glucas compiler options.)
--enable-ykill_branches
This option enables Y_KILL_BRANCHES
. By default this is disabled.
(See Glucas compiler options.)
--enable-ymany_registers
This option enables Y_MANY_REGISTERS
. By default this is disabled.
(See Glucas compiler options.)
--enable-yvectorize
This option enables Y_VECTORIZE
. By default this is disabled.
(See Glucas compiler options.)
--enable-yvectorize2
This option enables Y_VECTORIZE2
. By default this is disabled.
(See Glucas compiler options.)
--enable-ylong_macros
This option enables Y_LONG_MACROS
. By default this is disabled.
(See Glucas compiler options.)
Among the generic configure options one very important is the compiler being used.
You can select your favorite compiler for your platform with
CC=your_compiler.
As example, if you want to use Intel © C++ compiler instead of
GNU-gcc in your x86 machine
./configure CC=icc
Once the configure step has checked your system successfully, it generates the
Makefile
Then you only need to invoke the make
utility to generate a binary
make
It will create the binary. Usually named Glucas
on Unix systems.
To install the binary you should invoke again make
utility
make install
this will install the binary in your local binary directory. See INSTALL
file in the source directory to know more about install options.