#321 Patch to get libraries and applications building with autotools

Future Work
assigned
Joseph Koshy
None
SF.Net Project
major
enhancement
2012-09-30
2011-08-09
No

I have created a patch against trunk that gets the shared libraries and the applications building with autotools. Currently, this does not build the documentation directory or the test directory, but the basics to the framework is there.

2 Attachments

Discussion

  • Joseph Koshy
    Joseph Koshy
    2011-08-16

    • owner changed from jkoshy@‌ to jkoshy
    • status changed from new to assigned
    • milestone changed from RELEASE_0_5 to Future Work
     
  • John Tytgat
    John Tytgat
    2012-09-30

    Updated autotools support

     
  • John Tytgat
    John Tytgat
    2012-09-30

    The original patch was quite useful to me as it simplifies building on a GNU based system quite a lot. However, I needed support for cross-compilation as well so I've enhanced the original patch by adding support for cross-compilation.

    • There is still no support for building the documentation and test code.
    • Building the tools is optional (configure --disable-building-tools). Something I needed as well.
    • I didn't include the generated autotools files. Basically you need to do 'autoreconf --install' in the source directory and build in (preferable separate) build directory using '$(srcdir)/configure' + 'make' + 'make install'.
    • The documentation hasn't been updated to mention this autotools support (IMHO for GNU based systems, it might be preferable to use autotools instead of pmake).

    Please consider adding this autotools support to elftoolchain.