Re: GraphicsMagick and OS X Snow Leopard
Jakob Peterhänsel <[email protected]> Fri, 25 Sep 2009 21:39:30 +0200
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <[email protected]> |
--===============5306085190574313471==
Content-Type: multipart/alternative; boundary=Apple-Mail-29-722463750
--Apple-Mail-29-722463750
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1;
format=flowed;
delsp=yes
Hi Bob,
OK, nice.
I don't do much GCC stuff, so I just ran it.
It does compile and instal fine, but maybe it could be better.. ;-)
And yes, Snow Leopard (10.6) is full-blown 64bit.
There is a Really Great review with a lot of low-level details (also =20
about compiler stuff) over at Ars:
http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars
The compiler stuff digs in on page 9.. LLVM is now the prefered =20
compiler!
Jakob Peterh=E4nsel
"Be a part of the Love Generation - carry a smile, not a gun."
- JP, May 2006
Email: [email protected]
AIM: Marook
Phone: +45 30787715
On 25/09/2009, at 21.24, Bob Friesenhahn wrote:
> On Fri, 25 Sep 2009, Jakob Peterh=E4nsel wrote:
>
>> Hi Bob,
>>
>> Here is a ./configure I just did on OS X Server 10.6.1, with Xcode =20=
>> 3.2 (latest)
>>
>> make & make install runs fine, but it seems like it thinks it's on =20=
>> 10.0.0 and does not find support for a lot of sub-utilities (like =20
>> PNG etc..)
>
> I see that this is a 64-bit build. This means that your libpng and =20=
> other libraries need to also be built as 64-bit. This differs from =20=
> the GCC for Leopard which was 32-bit by default. If all of your =20
> libraries are built as 32-bit and you want a 32-bit GraphicsMagick =20
> then you would need to add -m32 to both CFLAGS and LDFLAGS.
>
> The GraphicsMagick configure script does not tell the compiler to =20
> look any place special so you need to give it some hints as =20
> suggested by the output of 'configure --help' or the GraphicsMagick =20=
> install documentation. In particular, if installed your libraries =20
> under /usr/local and Apple's GCC does not look there by default, =20
> then you will want to make sure that /usr/local/bin is early in your =20=
> executable search PATH and do
>
> ./configure CPPFLAGS=3D-I/usr/local/include LDFLAGS=3D-L/usr/local/lib
>
> Bob
> --
> Bob Friesenhahn
> [email protected], =
http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
--Apple-Mail-29-722463750
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1
<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi =
Bob,<div><br></div><div>OK, nice.</div><div><br></div><div>I don't do =
much GCC stuff, so I just ran it.</div><div><br></div><div>It does =
compile and instal fine, but maybe it could be better.. ;-)<br><div><br =
class=3D"webkit-block-placeholder"></div><div>And yes, Snow Leopard =
(10.6) is full-blown 64bit.</div><div><br></div><div>There is a Really =
Great review with a lot of low-level details (also about compiler stuff) =
over at Ars:</div><div><a =
href=3D"http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars">ht=
tp://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars</a></div><div=
><br></div><div>The compiler stuff digs in on page 9.. LLVM is now the =
prefered compiler!</div><div>
<span class=3D"Apple-style-span" style=3D"font-size: 12px; "><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; font: normal normal normal 12px/normal Helvetica; =
min-height: 14px; "><br class=3D"Apple-interchange-newline"><br></div><div=
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; "><span class=3D"Apple-converted-tab"> =
</span><b style=3D"font-weight: bold; "><i =
style=3D"font-style: italic; font-weight: bold; "><span =
class=3D"Apple-style-span" style=3D"font-style: italic; font-weight: =
bold; "><span class=3D"Apple-style-span" style=3D"font-style: italic; =
font-weight: bold; ">Jakob Peterh=E4nsel</span></span></i></b></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; font: normal normal normal 12px/normal Helvetica; =
min-height: 14px; "><br></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font =
class=3D"Apple-style-span" size=3D"2"><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; ">"Be a part of the Love Generation - carry a =
smile, not a gun.</span></span></span></font><font =
class=3D"Apple-style-span" size=3D"2"><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; ">"</span></span></span></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; font: normal normal normal 9px/normal Helvetica; =
min-height: 11px; font-size: 9px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 9px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 9px; ">- JP, May 2006</span></span><br =
style=3D"font-size: 9px; "></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 9px/normal Helvetica; min-height: 11px; font-size: 9px; =
"><br class=3D"khtml-block-placeholder"></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font =
class=3D"Apple-style-span" size=3D"2"><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; ">Email:<span =
class=3D"Apple-converted-space"> </span></span></span></span></font><=
span class=3D"Apple-converted-tab"><font class=3D"Apple-style-span" =
size=3D"2"><span class=3D"Apple-style-span" style=3D"font-size: 10px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "> =
<span =
class=3D"Apple-converted-space"> </span></span></span></span></font><=
/span><font class=3D"Apple-style-span" size=3D"2"><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "><a =
href=3D"mailto:[email protected]">[email protected]</a></span></span></span></=
font></div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; "><font class=3D"Apple-style-span" =
size=3D"2"><span class=3D"Apple-style-span" style=3D"font-size: 10px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; ">AIM:<span =
class=3D"Apple-converted-space"> </span></span></span></span></font><=
span class=3D"Apple-converted-tab"><font class=3D"Apple-style-span" =
size=3D"2"><span class=3D"Apple-style-span" style=3D"font-size: 10px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "> =
<span =
class=3D"Apple-converted-space"> </span></span></span></span></font><=
/span><font class=3D"Apple-style-span" size=3D"2"><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; =
">Marook</span></span></span></font></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font =
class=3D"Apple-style-span" size=3D"2"><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; "><span class=3D"Apple-style-span" =
style=3D"font-size: 10px; ">Phone:<span =
class=3D"Apple-converted-space"> </span></span></span></span></font><=
span class=3D"Apple-converted-tab"><font class=3D"Apple-style-span" =
size=3D"2"><span class=3D"Apple-style-span" style=3D"font-size: 10px; =
"><span class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "> =
<span =
class=3D"Apple-converted-space"> </span></span></span></span></font><=
/span><font class=3D"Apple-style-span" size=3D"2"><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; "><span =
class=3D"Apple-style-span" style=3D"font-size: 10px; =
">+45 30787715</span></span></span></font></div></span>
</div>
<br><div><div>On 25/09/2009, at 21.24, Bob Friesenhahn wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On =
Fri, 25 Sep 2009, Jakob Peterh=E4nsel wrote:<br><br><blockquote =
type=3D"cite">Hi Bob,<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">Here is a =
./configure I just did on OS X Server 10.6.1, with Xcode 3.2 =
(latest)<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">make & make =
install runs fine, but it seems like it thinks it's on 10.0.0 and does =
not find support for a lot of sub-utilities (like PNG =
etc..)<br></blockquote><br>I see that this is a 64-bit build. This =
means that your libpng and other libraries need to also be built as =
64-bit. This differs from the GCC for Leopard which was 32-bit by =
default. If all of your libraries are built as 32-bit and you want =
a 32-bit GraphicsMagick then you would need to add -m32 to both CFLAGS =
and LDFLAGS.<br><br>The GraphicsMagick configure script does not tell =
the compiler to look any place special so you need to give it some hints =
as suggested by the output of 'configure --help' or the GraphicsMagick =
install documentation. In particular, if installed your libraries =
under /usr/local and Apple's GCC does not look there by default, then =
you will want to make sure that /usr/local/bin is early in your =
executable search PATH and do<br><br> ./configure =
CPPFLAGS=3D-I/usr/local/include =
LDFLAGS=3D-L/usr/local/lib<br><br>Bob<br>--<br>Bob Friesenhahn<br><a =
href=3D"mailto:[email protected]">[email protected]<=
/a>, <a =
href=3D"http://www.simplesystems.org/users/bfriesen/">http://www.simplesys=
tems.org/users/bfriesen/</a><br>GraphicsMagick Maintainer, =
<a =
href=3D"http://www.GraphicsMagick.org/">http://www.GraphicsMagick.org/</a>=
</div></blockquote></div><br></div></body></html>=
--Apple-Mail-29-722463750--
--===============5306085190574313471==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
--===============5306085190574313471==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Graphicsmagick-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-core
--===============5306085190574313471==--