Coder Social home page Coder Social logo

jflopezfernandez / dcp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nationalsecurityagency/dcp

0.0 1.0 1.0 154 KB

Digest, stat, and copy files from one location to another in the same read pass

License: Other

Makefile 1.89% M4 3.18% Roff 5.09% C 89.84%

dcp's Introduction

DCP - Copy and Profile files and directories

The project has been refactored to use a more canonical build process. To do so, you now just need to configure and run make.

./configure
make
make install

Note: You will probably need to run make install as root.

You will still need gengetopt, as it's used to generate a command line parser for the application, but now you will be explicitly told so during the configuration process if you do not have it. If the configuration process succeeds, gengetopt was successfully found in your path.

Here is a breakdown of the libraries you will need to successfully build this application.

Library Name Description Version Tested
libcrypto From OpenSSL -
libdb Berkley DB 5.3.28-4
gengetopt Command line args parser generator 2.22.6-7

Configuration

The build system refactoring process is still ongoing, so the configuration script is not as robust as it could be. It does, however, successfully build on gcc, clang, and Intel's icc compiler.

Configuration is pretty standard. You can modify the build as usual through the CFLAGS, CPPFLAGS, and LDFLAGS as always, just keep in mind that currently the compiler set by CC is used as the linker driver, so whatever settings you set in LDFLAGS right now must play well with whatever C compiler you choose to use. Also, any additional libraries you wish to link against should be set via the LIBS variable, not LDFLAGS.

If you run into any weird errors on a rebuild, the safest bet is to run make distclean then run ./configure again to regenerate the header files for the build.

You can not yet directly install it using the usual make install command, however. This is a work in progress, as the entire project had to be refactored.

You should now be able to successfully install dcp after building, by way of the usual make install command. It does not yet use install, but rather simply moves the newly built binary into the destination directory set during configuration. The default prefix is the usual /usr/local and can be configured using --prefix=/usr, or whatever you so wish.

You can also uninstall the binary by running make uninstall as root, and the binary installed by make install will be removed.

Supported Compilers

This is a breakdown of the compilers on which the current version of the project has been tested. The GCC trunk branch was current as of 9:30 PM Eastern time, June 4th, 2019. All of the builds were tested on an x86-64 Arch Linux system. If you run into any issues in a different environment, be sure to include that in the issue description so we can spin up a VM with the right OS.

GCC

Version Tested Status
8.3.0 Yes OK
9.1.0 Yes OK
10.0.0 Yes OK
trunk[1] Yes OK

[1] gcc (GCC) 10.0.0 20190605 (experimental)

Clang

Version Tested Status
8.0.0-4 Yes OK

Intel ICC

Version Tested Status
19.0.4.235 Yes OK

dcp's People

Contributors

4n6tools avatar damonearp avatar jflopezfernandez avatar brianteeman avatar

Watchers

James Cloos avatar

Forkers

dmgolembiowski

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.