Determining flags used to compile
Brian Densmore
DensmoreB at ctbsonline.com
Fri Feb 20 23:23:34 CST 2004
> -----Original Message-----
> From: Gerald Combs
>
> Brad wrote:
>
> > On Fri, 2004-02-20 at 13:19, Leo J Mauler wrote:
> >
> >
<snip>
> If you want to know the exact configuration flags used in an
> Autoconf-driven build, check the "config.status" file. This
> is a shell
> script generated by "configure" which contains the flags passed to
> "configure", along with a bunch of other cached information. The
> command line passed to "configure" will be listed at the top of the
> script for easy cutting-and-pasting, or you can copy the script itself
> to the new machine and execute it there.
>
> If you're building a package from source, it's usually a good idea to
> stash its "config.status" somewhere for later reference.
This would make a good entry for a Linux tips and tricks reference.
More information about the Kclug
mailing list