Thanks, Bob, but "-arch x86" doesn't work either.

The problem seems to be that bootstrap runs make, which generates
"libtool".
I then edit libtool to add the "-arch" flags and run make, which runs
configure
again and wipes out my changes to libtool. You'd think that setting "-
arch i386"
in CFLAGS and CXXFLAGS would be enough, but make only seems to want
to generate x386_64 object files.

BTW, I tried upgrading my gcc to 4.5.1 today (from macports), but it
works
the same as the stock Apple version 4.2.1. Unfortunately, I don't know
enough
about what each of the tools in the chain does to figure out where the
problem
lies, but I'll keep at it as time allows until I do.

On Sep 9, 10:57 pm, Bob Campbell <[email protected]> wrote:
> On Sep 8, 3:54 pm, Darrell <[email protected]> wrote:
>
> > $ env | grep FLAGS
> > CXXFLAGS=-arch i386 -I/opt/local/include -L/opt/local/lib
> > CFLAGS=-arch i386 -I/opt/local/include -L/opt/local/lib
>
> According to this:http://doc.trolltech.com/4.6-snapshot/developing-on-mac.html
> you need to change the -arch i386 to -arch x86
> Note that the -arch flag is a an Apple-specific thing.
>
> You could also try adding -m32 and/or -march=i386.  Probably wouldn't
> hurt, anyway.

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to