apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: Looking for HOWTO: Linking to APR
Date Mon, 17 Jan 2005 13:35:37 GMT
On Mon, Jan 17, 2005 at 03:24:49PM +0200, Graham Leggett wrote:
> Joe Orton said:
> 
> >> What flags (in other words apr-config --<something>) must be used at
> >>the compile stage? What flags must be used at the link stage?
> >
> > I'd say: --cppflags, --includes and --cflags at compile stage,
> > --ldflags, --cflags, --libs and --link-ld at link stage, and best using
> > CC as `apr --cc` throughout.
> 
> But this means that the same compiler must be used for the application as
> is used to build APR, which isn't always practical (especially on
> Solaris).

Yes, most of the time CC mismatches won't matter, but sometimes they are
critical, say when APR is built with "gcc -m64" - it depends.

joe

Mime
View raw message