Hi! For the record (in case anyone is interested), GCC (developpment sources and 4.2, I haven't tried 4.1 for a while now) compile straight from the box under SGI since I have updated (and use): AutoConf, AutoMake, BinUtils, Bison, DejaGNU, Expect, FileUtils, Gmp, Guile, LibTool, M4, Make, Mpfr, and TexInfo. Some might be un-necessary: I just tried to update what looked necessary until it worked, but I didn't look for the minimal set, some of these updated where needed to compile some updates... Cheers! Philippe Myhuong Nguyen wrote: > > Hi! > > When trying to build gcc-4.1.2 on my SGI (irix6.5), I have encountered > exactly the same error described by Philippe Schaffnit in his > 01-Feb-2005 thread, under Subject 'Trying to build gcc under SGI irix', > (which I cut and paste below this message). I wonder if there is a > solution for it yet? if not, I would much appreciate if some one could help. > > Cheers > Myhuong > > ----------------------------------------------------------------------- > Philippe Schaffnit's thread on 01 Feb 2005 > > Hi! > > I've been unsuccessfully trying to build gcc (checked-out with > modification from 2005-01-29, which I believe to be uo-to-date) under > Irix (IRIX64 6.5 01100304 IP35), but I keep getting the following error: > "UX:make: ERROR: don't know how to make regex.c". It's most likely a > stupid mistake, but.. which?: can you help me with that? > > Cheers! > > Philippe > > PS: output of ../CVS_Sources/gcc/configure ; make bootstrap > > creating cache ./config.cache > checking host system type... mips-sgi-irix6.5 > checking target system type... mips-sgi-irix6.5 > checking build system type... mips-sgi-irix6.5 > checking for a BSD compatible install... /usr/freeware/bin/install -c > checking whether ln works... yes > checking whether ln -s works... yes > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for gnatbind... no > checking whether compiler driver understands Ada... no > checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 > checking for correct version of gmp.h... no > The following languages will be built: c,c++,java,objc > *** This configuration is not supported in the following subdirectories: > target-libmudflap target-libffi target-boehm-gc target-zlib > target-libjava target-libada target-libgfortran > (Any other directories should still work fine.) > checking for bison... bison > checking for bison... bison -y > checking for gm4... no > checking for gnum4... no > checking for m4... m4 > checking for flex... flex > checking for flex... flex > checking for makeinfo... makeinfo > checking for mips-sgi-irix6.5-ar... no > checking for ar... ar > checking for mips-sgi-irix6.5-as... no > checking for as... as > checking for mips-sgi-irix6.5-dlltool... no > checking for dlltool... dlltool > checking for mips-sgi-irix6.5-ld... /usr/bin/ld > checking for mips-sgi-irix6.5-nm... no > checking for nm... nm > checking for mips-sgi-irix6.5-ranlib... no > checking for ranlib... : > checking for mips-sgi-irix6.5-windres... no > checking for windres... windres > checking for mips-sgi-irix6.5-objcopy... no > checking for objcopy... objcopy > checking for mips-sgi-irix6.5-objdump... no > checking for objdump... objdump > checking for mips-sgi-irix6.5-ar... no > checking for ar... ar > checking for mips-sgi-irix6.5-as... no > checking for as... as > checking for mips-sgi-irix6.5-dlltool... no > checking for dlltool... dlltool > checking for mips-sgi-irix6.5-ld... no > checking for ld... ld > checking for mips-sgi-irix6.5-nm... no > checking for nm... nm > checking for mips-sgi-irix6.5-ranlib... no > checking for ranlib... : > checking for mips-sgi-irix6.5-windres... no > checking for windres... windres > checking whether to enable maintainer-specific portions of Makefiles... > no > checking if symbolic links between directories work... yes > updating cache ./config.cache > creating ./config.status > creating Makefile > mkdir build-mips-sgi-irix6.5 > mkdir build-mips-sgi-irix6.5/libiberty > Configuring in build-mips-sgi-irix6.5/libiberty > configure: creating cache ../config.cache > checking whether to enable maintainer-specific portions of Makefiles... > no > checking for makeinfo... makeinfo > checking for perl... perl > checking build system type... mips-sgi-irix6.5 > checking host system type... mips-sgi-irix6.5 > checking for mips-sgi-irix6.5-ar... no > checking for ar... ar > checking for mips-sgi-irix6.5-ranlib... no > checking for ranlib... : > checking for mips-sgi-irix6.5-gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking how to run the C preprocessor... gcc -E > checking whether gcc and cc understand -c and -o together... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking whether byte ordering is bigendian... yes > checking for a BSD-compatible install... /usr/freeware/bin/install -c > checking for sys/file.h... yes > checking for sys/param.h... yes > checking for limits.h... yes > checking for stdlib.h... yes > checking for malloc.h... yes > checking for string.h... yes > checking for unistd.h... yes > checking for strings.h... yes > checking for sys/time.h... yes > checking for time.h... yes > checking for sys/resource.h... yes > checking for sys/stat.h... yes > checking for sys/mman.h... yes > checking for fcntl.h... yes > checking for alloca.h... yes > checking for sys/pstat.h... no > checking for sys/sysmp.h... yes > checking for sys/sysinfo.h... yes > checking for machine/hal_sysinfo.h... no > checking for sys/table.h... no > checking for sys/sysctl.h... yes > checking for sys/systemcfg.h... no > checking for stdint.h... no > checking for sys/wait.h that is POSIX.1 compatible... yes > checking whether time.h and sys/time.h may both be included... yes > checking whether errno must be declared... no > checking for egrep... grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for memory.h... yes > checking for strings.h... (cached) yes > checking for inttypes.h... yes > checking for stdint.h... (cached) no > checking for unistd.h... (cached) yes > checking for int... yes > checking size of int... 4 > checking for uintptr_t... yes > checking for a 64-bit type... unsigned long long > checking for pid_t... yes > checking for library containing strerror... none required > checking for asprintf... no > checking for atexit... yes > checking for basename... no > checking for bcmp... yes > checking for bcopy... yes > checking for bsearch... yes > checking for bzero... yes > checking for calloc... yes > checking for clock... yes > checking for ffs... yes > checking for getcwd... yes > checking for getpagesize... yes > checking for index... yes > checking for insque... yes > checking for memchr... yes > checking for memcmp... yes > checking for memcpy... yes > checking for memmove... yes > checking for mempcpy... no > checking for memset... yes > checking for mkstemps... no > checking for putenv... yes > checking for random... yes > checking for rename... yes > checking for rindex... yes > checking for setenv... no > checking for snprintf... yes > checking for sigsetmask... yes > checking for stpcpy... no > checking for stpncpy... no > checking for strcasecmp... yes > checking for strchr... yes > checking for strdup... yes > checking for strncasecmp... yes > checking for strrchr... yes > checking for strstr... yes > checking for strtod... yes > checking for strtol... yes > checking for strtoul... yes > checking for tmpnam... yes > checking for vasprintf... no > checking for vfprintf... yes > checking for vprintf... yes > checking for vsnprintf... yes > checking for vsprintf... yes > checking for waitpid... yes > checking whether alloca needs Cray hooks... no > checking stack direction for C alloca... -1 > checking for unistd.h... (cached) yes > checking for vfork.h... no > checking for fork... yes > checking for vfork... no > checking for working fork... yes > checking for _doprnt... yes > checking for sys_errlist... yes > checking for sys_nerr... yes > checking for sys_siglist... yes > checking for external symbol _system_configuration... no > checking for getrusage... yes > checking for on_exit... no > checking for psignal... yes > checking for strerror... yes > checking for strsignal... no > checking for sysconf... yes > checking for times... yes > checking for sbrk... yes > checking for gettimeofday... yes > checking for realpath... yes > checking for canonicalize_file_name... no > checking for pstat_getstatic... no > checking for pstat_getdynamic... no > checking for sysmp... yes > checking for getsysinfo... no > checking for table... no > checking for sysctl... yes > checking whether canonicalize_file_name must be declared... yes > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > checking for getpagesize... (cached) yes > checking for working mmap... yes > checking for working strncmp... yes > updating cache ../config.cache > configure: creating ./config.status > config.status: creating Makefile > config.status: creating testsuite/Makefile > config.status: creating config.h > config.status: executing default commands > if [ x"" != x ] && [ ! -d pic ]; then \ > mkdir pic; \ > else true; fi > touch stamp-picdir > UX:make: ERROR: don't know how to make regex.c (bu42). > *** Error code 1 (bu21)