Changes between Version 7 and Version 8 of KirstenSandbox


Ignore:
Timestamp:
Dec 27, 2006 6:13:20 PM (9 years ago)
Author:
kirsten
Comment:

bowl of toast

Legend:

Unmodified
Added
Removed
Modified
  • KirstenSandbox

    v7 v8  
    9191 1.  Wish that parents-in-law would get the faster internets at their house.
    9292 1.  Eat breakfast.
     93 1.  Installing gcc on a full stomach is probably better anyway (though quite possibly not). Unzip the tarball. Notice that {{{INSTALL}}} is a directory. That's already a bad sign.
     94 1.  Hope that {{{autoconf; ./configure; make; make install}}} will just work, since I don't have the attention span for anything else.
     95 1.  Run make.
     96 1.  For some reason, the configure script thinks that my PPC laptop is an i386. {{{./configure}}} doesn't do anything. Nor does {{{./configure --help}}}.
     97 1.  No, actually it thinks I want to build a cross-compiler. Why would I want that?
     98 1.  Apparently the hosts to build for are controlled by the {{{HOSTS}}} environment variable, or maybe it's set somewhere in one of the config files. I'm not sure. Nor am I sure why I have the attention span to grovel through the sources but not to read the documentation.
     99 1.  Try {{{setenv HOSTS ppc}}}
     100 1.  {{{make}}}
     101 1.  Still complains with the same message:
     102{{{
     103********************************************************************************
     104* Building Apple GCC 3.3 Compiler(s) (languages = c++,c,objc,objc++) for thins *
     105* ---------------------------------------------------------------------------- *
     106* BUILDHOST       = Kirsten-Chevaliers-Computer.local. -- a ppc                *
     107* HOSTS           = ppc  i386                                                  *
     108* TARGETS         = ppc  i386                                                  *
     109* SRCROOT         = /tmp/gcc3/gcc-1495                                         *
     110* OBJROOT         = /tmp/gcc3/gcc-1495/obj                                     *
     111* SYMROOT         = /tmp/gcc3/gcc-1495/obj/../sym                              *
     112* DSTROOT         = /tmp/gcc3/gcc-1495/obj/../dst                              *
     113* RC_RELEASE      =                                                            *
     114* CFLAGS          = -g                                                         *
     115* OPT_OVERRIDE    =                                                            *
     116* NEXT_ROOT       =                                                            *
     117* BUILD           = ppc                                                        *
     118* BOOTSTRAP       = yes                                                        *
     119* PREFIX          = /usr                                                       *
     120* DO_SYMLINKS     = no                                                         *
     121* ENABLE_CHECKING = --disable-checking                                         *
     122* Default cc      =                                                            *
     123* Curr. Hdrs.     = 3.1                                                        *
     124* ---------------------------------------------------------------------------- *
     125* 12/27/06 10:08:49 PST                                                        *
     126********************************************************************************
     127
     128
     129????????????????????????????????????????????????????????????
     130? The directory /usr/libexec/gcc/darwin/i386 is missing!!! ?
     131? Please install a compiler that generates code for i386.  ?
     132????????????????????????????????????????????????????????????
     133
     134make: *** [build] Error 1
     135}}}
     136 1.  Try {{{export HOSTS}}}
     137 1.  {{{make}}}
     138 1.  Still complains.
     139 1.  For the 65536th time in my life, consider destroying everything Turing-complete and then going out to enjoy the big room with the blue ceilings.
     140 1.  Apparently you can also set the {{{TARGETS}}} environment variable. Try setting it to {{{ppc}}} also.
     141 1.
     142{{{
     143??????????????????????????????????????????
     144? Host type i386 should also be a target ?
     145??????????????????????????????????????????
     146}}}
     147 1.  Well, maybe if I could also set the {{{HOSTS}}} to just {{{ppc}}}, that wouldn't be a problem.
     148 1.  Use grep again (the only IDE I'll ever need) and figure out to edit the {{{GNUmakefile}}} to change the {{{HOSTS = }}} and {{{targets = }}} lines to obliterate any and all traces of {{{i386}}}. There's probably a better way. At this point I don't care.
     149 1.  Start {{{make}}} again. It is, at least, convinced that it only wants to be building a {{{ppc}}} compiler, without any of that crazy {{{i386}}} nonsense.
     150 1.  Go back to bed.