On 23.11.2010, at 01:03, alberto besana wrote:

> I build the 1.1.10 library configured like
> 
> $ ./configure --prefix=/Users/albertobesana
> --execprefix=/Users/albertobesana/lib/fltk-1.1.10
> CXX="g++ -arch x86_64" CXXFLAGS="-arch x86_64"

Well, in the line above, you build a 64 bit library "-arch x86_64" only, but...

> Then
> 
> make
> make install
> 
> and everything seemed fine.
> 
> But when I try to test the installation
> 
> g++ -I/Users/albertobesana/include -L/Users/albertobesana/lib/fltk-1.1.10/lib 
> -lfltk -o scratch scratch.cpp

...here you build a 32 bit executable (no arch flags build 32 bit Intel on 
Intel machines and PPC on PPC machines by default). You can either build the 
library *and* the app in 32 bit, or both in 64 bit. 

Or you build the library as a hybrid of 32 bit Intel, 64 bit Intel, and PPC, 
and then it can be linked with *any* application.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to