build icon indicating copy to clipboard operation
build copied to clipboard

How to move from autoconf?

Open pombredanne opened this issue 8 years ago • 2 comments

Say I want to build strace with build... strace uses autoconf, so what would be the steps to get there?

pombredanne avatar Dec 06 '17 19:12 pombredanne

On 6 Dec 2017, at 20:23, Philippe Ombredanne [email protected] wrote:

Say I want to build strace with build... strace uses autoconf, so what would be the steps to get there?

This is not the simplest case, because it builds a number of intermediate files, and it is very Linux dependent, so the autoconf part is somewhat strange.

I’m looking into it. Here is what I am doing:

  • Start with Makefile.am to identify sources

  • This is a multi-stage build, with a library and an exe, which Build deals with this using ‘VARIANTS=“, which lets you build multiple independent things in a single makefile.

  • Search in the source for all HAVE_xxxx, and add checks for that in CONFIG=

There are some checks that I don’t have yet :-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

c3d avatar Dec 07 '17 10:12 c3d

@c3d Thanks ++ Let me get a stab at this on a rainy day :P

pombredanne avatar Dec 12 '17 15:12 pombredanne