]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices] Compiling on OS X | |
5 | </TITLE> | |
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"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices] Compiling on OS X</H1> | |
15 | <B>Andrew Church</B> | |
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 | |
18 | </A><BR> | |
19 | <I>Mon May 17 09:25:36 PDT 2004</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="004405.html">[IRCServices] Compiling on OS X | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="004415.html">[IRCServices] Compiling on OS X | |
24 | </A></li> | |
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> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
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. | |
36 | </I> | |
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. | |
42 | ||
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. | |
48 | </I>><i> | |
49 | </I>><i>e.g.: | |
50 | </I>><i>MORE_CFLAGS = -g -fno-builtin -Wall -Wmissing-prototypes | |
51 | </I> | |
52 | This has been in the Makefile since forever. Are you sure you're | |
53 | using current source? | |
54 | ||
55 | --Andrew Church | |
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> | |
58 | ||
59 | ||
60 | </PRE> | |
61 | ||
62 | <!--endarticle--> | |
63 | <HR> | |
64 | <P><UL> | |
65 | <!--threads--> | |
66 | <LI>Previous message: <A HREF="004405.html">[IRCServices] Compiling on OS X | |
67 | </A></li> | |
68 | <LI>Next message: <A HREF="004415.html">[IRCServices] Compiling on OS X | |
69 | </A></li> | |
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> | |
75 | </LI> | |
76 | </UL> | |
77 | ||
78 | </body></html> |