| | 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\ |
| | 160 | GS= -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-\ |
| | 161 | precomp -g' |
| | 162 | if [ x"" != x ] && [ ! -d pic ]; then \ |
| | 163 | mkdir pic; \ |
| | 164 | else true; fi |
| | 165 | touch stamp-picdir |
| | 166 | if [ 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\ |
| | 168 | tional -pedantic /tmp/gcc3/gcc-1495/libiberty/regex.c -o pic/regex.o; \ |
| | 169 | else true; fi |
| | 170 | cc -arch ppc -arch ppc -no-cpp-precomp -g -c -DHAVE_CONFIG_H -g -I. -I/tmp/gcc3/gcc-1495/libiberty/../include -W -Wall -Wtraditi\ |
| | 171 | onal -pedantic /tmp/gcc3/gcc-1495/libiberty/regex.c -o regex.o |
| | 172 | gnumake[1]: cc: Command not found |
| | 173 | gnumake[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... |