On Jan 23, 2008 11:15 PM, James Keenan via RT
<[EMAIL PROTECTED]> wrote:
> On Wed Feb 14 09:09:14 2007, coke wrote:
> > Trying to build with GMP support on OSX intel. I have libgmp in
> > /opt/local/bin/
> >
> > if I run:
> >
> > CC="ccache gcc-4.0"
> > CX="ccache g++-4.0"
> > perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" --ld="$CX"
> >  --ccflags="-L/opt/local/lib -I/opt/local/include"
> >  --ldflags="-L/opt/local/lib" --step=auto::gmp --verbose=auto:gmp
> >
>
> Coke:  I happened to re-read the first post to this ticket, now nearly a
> year old.  I want to make sure that you're *not* calling Configure.pl
> these days in the manner above.

Yes, I noticed that it didn't work, so I stopped that.

Part of the original ticket was that running the step by itself seemed
to work, but running it as part of the whole failed; so it seemed that
something that happened in Config land before the GMP step was
throwing out something crucial.

>The --step option is now only used with
> tools/dev/reconfigure.pl; it's used when you want to rerun just one
> config step after Configure.pl has completed.  Also, if you want to run
> a particular step with verbose output, the phrasing is now:
> --verbose-step=auto::gmp.



Here's my current Config script:

CCACHE="ccache "
CC="${CCACHE}gcc-4.0"
CX="${CCACHE}g++-4.0"
perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" --ld="$CX"
--ccflags="-L/opt/local/lib -I/opt/local/include"
--ldflags="-L/opt/local/lib" --verbose-step=auto::gmp $@

Running this step verbosely shows as the attached. Notice that the
flags that I specified on the command line for Configure for
cclflags/ldflags are missing, so the build fails, and GMP is reported
as not available.

> Does that clear up any of your problems?

I think this helps verify my original claim, but how to address it?

-- 
Will "Coke" Coleda

Attachment: config.out
Description: Binary data

Reply via email to