> Problem:
>
> 1. In the beginning of configure, --with_archflags option value is added =
> to CFLAGS, so that configure checks will see the given -arch flags. =
> However, fltk makefiles expect the arch flags to be in ARCHFLAGS, not in =
> CFLAGS. The problem is that configure leaves the arch flags in CFLAGS, =
> which makes the fltk-config return the arch flags in e.g. "fltk-config =
> --cflags". For universal builds this is wrong, as it "forces" apps to =
> build as universal as well, while the intent of an universal library is =
> to be usable for e.g. both 32-bit and 64-bit apps, not only for =
> universal apps.
>
> 2. DSOCOMMAND for OSX does not have ARCHFLAGS.
>
>
> Solutions:
.....

Not propagating archflags to "fltk-config --cflags" is convenient
when one wants to build a native appl using universal libraries,
but is a nuisance in another scenario:
I am on Mac OS X 10.6 and want to build 32-bit applications
(because I know 64-bit is useless unless the appl uses more
than 4GB of memory).
Here, I would be happy to have archflags propagated from
the library to the application builds.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to