Changes between Version 8 and Version 9 of KirstenSandbox


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

--

Legend:

Unmodified
Added
Removed
Modified
  • KirstenSandbox

    v8 v9  
    139139 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. 
    140140 1.  Apparently you can also set the {{{TARGETS}}} environment variable. Try setting it to {{{ppc}}} also. 
    141  1. 
     141 1.  
    142142{{{ 
    143143?????????????????????????????????????????? 
     
    149149 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. 
    150150 1.  Go back to bed. 
     151 1.  ...but not *yet*. The hell?  
     152{{{ 
     153++++++++++++++++++++++++++++++++++++++++++ 
     154+ Building libiberty                     + 
     155+ -------------------------------------- + 
     156+ cwd = /tmp/gcc3/gcc-1495/obj/libiberty + 
     157++++++++++++++++++++++++++++++++++++++++++ 
     158 
     159+ gnumake srcdir=/tmp/gcc3/gcc-1495/libiberty BUILD_PREFIX=ppc- BUILD_PREFIX_1=ppc- 'HOST_CC= cc -arch ppc -no-cpp-precomp' 'CFLA\ 
     160GS= -g' 'GCC_CFLAGS=-no-cpp-precomp -g' 'BOOT_CFLAGS=-O2 -g -no-cpp-precomp -mdynamic-no-pic' 'CC=cc -arch ppc -arch ppc -no-cpp-\ 
     161precomp -g' 
     162if [ x"" != x ] && [ ! -d pic ]; then \ 
     163  mkdir pic; \ 
     164else true; fi 
     165touch stamp-picdir 
     166if [ x"" != x ]; then \ 
     167  cc -arch ppc -arch ppc -no-cpp-precomp -g -c -DHAVE_CONFIG_H -g -I. -I/tmp/gcc3/gcc-1495/libiberty/../include  -W -Wall -Wtradi\ 
     168tional -pedantic  /tmp/gcc3/gcc-1495/libiberty/regex.c -o pic/regex.o; \ 
     169else true; fi 
     170cc -arch ppc -arch ppc -no-cpp-precomp -g -c -DHAVE_CONFIG_H -g -I. -I/tmp/gcc3/gcc-1495/libiberty/../include  -W -Wall -Wtraditi\ 
     171onal -pedantic /tmp/gcc3/gcc-1495/libiberty/regex.c -o regex.o 
     172gnumake[1]: cc: Command not found 
     173gnumake[1]: *** [regex.o] Error 127 
     174+ status=2 
     175+ command set +x 
     176+ set +x 
     177 
     178********************************************* 
     179* *** gnumake failed building libiberty *** * 
     180********************************************* 
     181}}} 
     182 1. WTF is "libiberty"? 
     183 1. Apparently, not only does it think it should be using {{{cc}}} instead of {{{gcc}}} (which are supposed to be the same anyway, no?), the {{{PATH}}} isn't getting exported correctly, because {{{cc}}} is certainly in {{{/usr}}}, which is in my {{{PATH}}}. 
     184 1. Try setting the {{{CC}}} environment variable to {{{/usr/gcc}}. 
     185 1. {{{make}}}. Doesn't work. 
     186 1. {{{make clean}}} 
     187 1. {{{make}}}. Doesn't work. 
     188 1. Edit the makefile in the {{{libiberty}}} subdir: {{{CC = gcc}}}. Again, there's probably a better way...