1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Compiling on OS X
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Compiling%20on%20OS%20X&In-Reply-To=003b01c43b75%2490cb1fe0%241f01a8c0%40bahamut">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"004405.html">
11 <LINK REL=
"Next" HREF=
"004415.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Compiling on OS X
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Compiling%20on%20OS%20X&In-Reply-To=003b01c43b75%2490cb1fe0%241f01a8c0%40bahamut"
17 TITLE=
"[IRCServices] Compiling on OS X">achurch at achurch.org
19 <I>Mon May
17 09:
25:
36 PDT
2004</I>
21 <LI>Previous message:
<A HREF=
"004405.html">[IRCServices] Compiling on OS X
23 <LI>Next message:
<A HREF=
"004415.html">[IRCServices] Compiling on OS X
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#4408">[ date ]
</a>
27 <a href=
"thread.html#4408">[ thread ]
</a>
28 <a href=
"subject.html#4408">[ subject ]
</a>
29 <a href=
"author.html#4408">[ author ]
</a>
34 <PRE>><i>However, I have not had much luck with the ar utility playing nice.
35 </I>><i>I can run it by hand, but it bombs out when running make.
37 Check the exit code of ar (
"ar ... ; echo $?
"), particularly with
38 respect to the presence/absence of the -c option vs. the existence or
39 nonexistence of the output (.a) file; it could be that the MacOS ar is anal
40 about return codes. If not, it could just be a bug in ar--in that case, I
41 guess you'll need to file a bug report with Apple.
43 ><i>As a side note there needs to be a -fno-builtin option passed to the
44 </I>><i>compiler on Mac OS X so you don't get that anoying warning about the
45 </I>><i>builtin log function conflicting with that of the log function defined
46 </I>><i>within Services itself. This can be added to the second appearance
47 </I>><i>of the MORE_CFLAGS variable in the top level Makefile.
50 </I>><i>MORE_CFLAGS = -g -fno-builtin -Wall -Wmissing-prototypes
52 This has been in the Makefile since forever. Are you sure you're
56 <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
57 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
66 <LI>Previous message:
<A HREF=
"004405.html">[IRCServices] Compiling on OS X
68 <LI>Next message:
<A HREF=
"004415.html">[IRCServices] Compiling on OS X
70 <LI> <B>Messages sorted by:
</B>
71 <a href=
"date.html#4408">[ date ]
</a>
72 <a href=
"thread.html#4408">[ thread ]
</a>
73 <a href=
"subject.html#4408">[ subject ]
</a>
74 <a href=
"author.html#4408">[ author ]
</a>