Hi Bob,

2010/9/10 Bob Campbell <thebobcampb...@gmail.com>

>
>
> On Sep 8, 3:54 pm, Darrell <styner.darr...@gmail.com> 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.
>
> -
>

Thank you for thinking with us.

The -arch setting as such is Apple, but likewise settings are known for many
Open Source multi-platform software. ffmpeg uses, for instance, CROSS_ARCH
to enable cross compiling.
As far as I know the x86 setting is a general cross_compiler setting for
gcc/gcc++. Apple's gcc uses i386. Even XCode (by the Apple developers)
itself is using i386 as architecture specifyer.
But I could be wrong. I will test the x86 flag this weekend. See what
happens.

Harry

-- 
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 hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to