[zeromq-dev] Reconfigure libzmq compile cycle

Kenneth Adam Miller kennethadammiller at gmail.com
Thu Jan 16 16:27:33 CET 2014


Aww, that makes me sad... so I ran configure, but I would prefer not to
have to leave all of my flags on the command line specifically to
./configure... And editing a *generated *makefile is out of the question,
because later it will be regenerated, and I'm not doing any re-editing.

Well, I can compile the way I need to, but I'm not happy with the situation
because it's ugly.


On Thu, Jan 16, 2014 at 8:16 AM, Greg Ward <greg at gerg.ca> wrote:

> On 14 January 2014, Kenneth Adam Miller said:
> > I need to reconfigure the compile cycle to:
> >
> > 1) specify a set of include directories for a pair of files
> >
> > 2) at the final libzmq link stage, it should link against some libraries
> > (and also pass the location of those libraries in).
>
> Sadly, the state of the art has not changed much these last 15 or 20
> years: run "./configure --help" and see if anything there is helpful.
> Try it. If it works, you're good. If not, read the Makefile, find the
> variables you need to tweak, and override them on the command line.
> Hope and pray that it works.
>
> For example, in libzmq:
>
>   $ ./configure --help
>   [...]
>   Some influential environment variables:
>     CC          C compiler command
>     CFLAGS      C compiler flags
>     LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
>                 nonstandard directory <lib dir>
>     LIBS        libraries to pass to the linker, e.g. -l<library>
>     CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir>
> if
>                 you have headers in a nonstandard directory <include dir>
>
> ...which I think tells you everything you need to know!
>
>        Greg
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140116/71b54726/attachment.htm>


More information about the zeromq-dev mailing list