Hi, 2010/9/10 Harry van der Wolf <[email protected]>
> Hi Bob, > > 2010/9/10 Bob Campbell <[email protected]> > > >> >> 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. >> >> - >> > > 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 > > I did some further analysis. On OSX the C/CPP/CXX/LD Flags are used with "-arch i386". The F90FLAGS/FCFLAGS/FFLAGS are used with "-m32". Maybe there are more but this is what I found so far. 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 [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
