Skip to content

gitGNU/gnu_haploid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$Id$

This file is part of haploid

haploid is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

haploid is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with haploid.  If not, see <http://www.gnu.org/licenses/>.

Copyright 2010 Joel James Adamson <adamsonj@email.unc.edu> 

This file describes how to compile and install Haploid, a C library
for haploid population genetic simulations.

Compiling
=========

Compiling Haploid follows the usual autotools routine:

# ./configure 
# make

If you obtained development code from the Subversion repository, then
run

# automake -a
# autoconf

before running ./configure.

You really should use gcc to compile the library.  The library makes use
of some GNU extensions and some C99 features, such as variable-length arrays.

To install the library, use

# make install

Usually you need root privileges to use make install.

Configure options
=================

Debugging
=========

To compile a version of the library for debugging use

# make -k CFLAGS='-O0 -ggdb'

This command disables optimization so the debugger can read symbols
within library functions.  Unless you plan to install the version with
debugging symbols enabled, you can pass '--disable-shared' to
./configure before invoking make.  This will build a static library in
the toplevel directory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published