perl-App-AutoBuild-0.04-alt1.noarch.rpm


Advertisement

Description

perl-App-AutoBuild - A perl tool to make it quick and easy to compile a C/C++ project with automatic compilation of depe

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-App-AutoBuild
Package version: 0.04
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 19.03 KB
Download size: 19.03 KB
Official Mirror: ftp.altlinux.org
After writing a makefile for my 30th C project, I decided this was dumb and it (the computer) should figure out which object files should be linked in or recompiled. The idea behind this module is you create a build.pl that uses App::AutoBuild and calls build() with cflags and ldflags, an output binary filename, and a C file to start with (usually the C file with main()). App::AutoBuild will figure out all the object files your C file depends on. A list of included header files (.h) will be computed by GCC and remembered in a cache. At build time, stat() is called on each header file included by your .c file. If any have a different mtime, the .c file will be recompiled. If you include a .h file that has a corresponding .c file, this process repeats and the output object code will be linked into your final binary automatically. This tool isn't supposed to be a make replacement-- there are plenty of those, and at least one great one already in Perl. The idea is that the build system should know enough about the source code to do what you want for you. This replaces all the functionality of a makefile for a standard C project with the added bonus of having it only link in the objects that are actually used in each output target.

Alternatives

Provides

  • perl(App/AutoBuild.pm) = 0.040
  • perl-App-AutoBuild = 0.04-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-App-AutoBuild rpm package:
      # sudo apt-get install perl-App-AutoBuild

    Files

    • /usr/share/doc/perl-App-AutoBuild-0.04/Changes
    • /usr/share/doc/perl-App-AutoBuild-0.04/README
    • /usr/share/perl5/App/AutoBuild.pm
    Advertisement
    Advertisement