HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] compiling a universal hylafax
I think that its a flag of the gcc compiler (-arch i386 -arch ppc)
If you do some googleing you will find information how gcc can build
universal binaries.
Hear you can find a sample
http://perldoc.perl.org/perlmacosx.php
So, probably you need to pass a parameter to the configure script
something like ./configure -Accflags="-arch i386 -arch ppc"
In internet you will find many samples.
Hope this helps
regards
xavier
El 13/06/2010, a las 10:03, Bodo Meissner escribió:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 10.06.2010 22:16, schrieb Brian Postow:
I'm trying to make a version of hylafax that will work on both
Intel and Power PC macs. I don't see that there is a configure
option that will allow me to do this easily.
Is there an easy way to do this?
Hello Brian,
I don't think there is an _easy_ way.
It might be a good idea to ask in a Mac specific mailing list,
forum etc.
Since the two series of processors are not compatible, you need
either a combined binary what lipo seems to do or an emulation layer.
To create a combined binary it might be possible to build binaries
for both processors on the same machine using cross compiling, but
that requires some work.
or do I have to make it once on an intel, make it once on a PPC,
and then use lipo to merge each executable?
This is probably the easiest solution to get "universal" binaries.
Of course you have to do it for all binary programs contained in
HylaFAX, so I recommend to create a script for this step.
(or, simply have two tarballs that I carry around, one for
powerpc, one for intel...)
This is the most simple solution.
You could combine the two tarballs with a small installation script
that checks for the architecture and installs the matching version.
Bodo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwUkOQACgkQnMz9fgzDSqdHiACZARN8gLcmmawq/J5Ye9h+y/AM
XMYAn3N5KykISp0MHoAFmeg3fJuxupUT
=pzSK
-----END PGP SIGNATURE-----
____________________ HylaFAX(tm) Users Mailing List
_______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/
lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /
dev/null
*To learn about commercial HylaFAX(tm) support, mail
sales@xxxxxxxxx*
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*