<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.1">
</HEAD>
<BODY>
I'm getting behaviour I don't understand from my attempt to build the GCC front end under Ubuntu Edgy.  Everything seems to work fine until I hit this:<BR>
<BR>
<BLOCKQUOTE>
    <TT>stage1/xgcc -Bstage1/ -B/home/michael/software/i686-pc-linux-gnu/bin/ -c   -O2 -g -fomit-frame-pointer -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition     -DHAVE_CONFIG_H    -I. -Iobjc -I../../gcc -I../../gcc/objc -I../../gcc/../include -I../../gcc/../libcpp/include  ../../gcc/objc/objc-act.c -o objc/objc-act.o</TT><BR>
    <TT>../../gcc/objc/objc-act.c: In function ‘objc_init’:</TT><BR>
    <TT>../../gcc/objc/objc-act.c:714: warning: empty body in an if-statement</TT><BR>
    <TT>../../gcc/objc/objc-act.c: In function ‘objc_init_exceptions’:</TT><BR>
    <B><TT>../../gcc/objc/objc-act.c:7638: error: ‘darwin_macosx_version_min’ undeclared (first use in this function)</TT></B><BR>
    <B><TT>../../gcc/objc/objc-act.c:7638: error: (Each undeclared identifier is reported only once</TT></B><BR>
    <B><TT>../../gcc/objc/objc-act.c:7638: error: for each function it appears in.)</TT></B><BR>
    <TT>../../gcc/objc/objc-act.c: In function ‘generate_v2_shared_structures’:</TT><BR>
    <TT>../../gcc/objc/objc-act.c:11925: warning: signed and unsigned type in conditional expression</TT><BR>
    <TT>make[2]: *** [objc/objc-act.o] Error 1</TT><BR>
    <TT>make[2]: Leaving directory `/home/michael/Development/llvm-gcc4-2.0.source/build/gcc'</TT><BR>
    <TT>make[1]: *** [stage2_build] Error 2</TT><BR>
    <TT>make[1]: Leaving directory `/home/michael/Development/llvm-gcc4-2.0.source/build/gcc'</TT><BR>
    <TT>m</TT>ake: *** [bootstrap] Error 2<BR>
</BLOCKQUOTE>
<BR>
Now I have absolutely no idea why it's doing *ANYTHING* at all with darwin_macosx_<whatever> given that it seems to have correctly identified earlier that I'm on an i686-pc-linux-gnu system.  (The command line kind of gives me a hint that it figured that out.)  I don't see anything in the configure script that helps with this.  What's more, I don't see anything in the configure script that allows me to turn off Objective-C, despite the fact I'll never actually use that language.  How can I either turn off Objective-C (and bypass the error) or get it to stop trying to compile MacOS-specific code?<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<B>Michael T. Richter</B> <<A HREF="mailto:ttmrichter@gmail.com">ttmrichter@gmail.com</A>> (<B>GoogleTalk:</B> ttmrichter@gmail.com)<BR>
<I>I can see computers everywhere - except in the productivity statistics! (Robert Solow)</I>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>