From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: egcs@cygnus.com Subject: alpha-linux-gnulibc1 patch Date: Tue, 19 Aug 1997 19:08:13 -0000 Message-id: <199708191857.LAA15165@rtl.cygnus.com> X-SW-Source: 1997-08/0185.html Linux/Alpha also has need for a "glibc1" option. The difference being that it actually was glibc 1.9x, rather than something HJ and co. cooked up. ;-) r~ Tue Aug 19 11:45:30 1997 Richard Henderson * config/alpha/elf.h (LINK_SPEC): ld.so changed between glibc 1.99 and 2.0.0, so recognize USE_GNULIBC_1. * config.guess: Recognize alpha-linux-gnulibc1. * configure.in (alpha-*-linux-gnulibc1): New target. (alpha-*-linux-gnu*): Don't build crtbegin/end; crtstuff cannot handle some of the Alpha-specific details. Correct versions are distributed with glibc. diff -rpc2 -x CVS egcs/config/alpha/elf.h egcs-work/config/alpha/elf.h *** egcs/config/alpha/elf.h Mon Aug 18 08:49:48 1997 --- egcs-work/config/alpha/elf.h Mon Aug 18 11:46:07 1997 *************** Currently only Linux uses this. */ *** 40,43 **** --- 40,52 ---- #undef LINK_SPEC + #ifdef USE_GNULIBC_1 + #define LINK_SPEC "-m elf64alpha -G 8 %{O*:-O3} %{!O*:-O1} \ + %{shared:-shared} \ + %{!shared: \ + %{!static: \ + %{rdynamic:-export-dynamic} \ + %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \ + %{static:-static}}" + #else #define LINK_SPEC "-m elf64alpha -G 8 %{O*:-O3} %{!O*:-O1} \ %{shared:-shared} \ *************** Currently only Linux uses this. */ *** 47,50 **** --- 56,60 ---- %{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}} \ %{static:-static}}" + #endif /* Output at beginning of assembler file. */ diff -rpc2 -x CVS egcs/config.guess egcs-work/config.guess *** egcs/config.guess Mon Aug 18 08:48:59 1997 --- egcs-work/config.guess Mon Aug 18 13:28:46 1997 *************** EOF *** 507,510 **** --- 507,511 ---- .end main EOF + LIBC="" ${CC-cc} dummy.s -o dummy 2>/dev/null if test "$?" = 0 ; then *************** EOF *** 517,524 **** UNAME_MACHINE="alphaev56" ;; ! esac ! fi ! rm -f dummy.s dummy ! echo ${UNAME_MACHINE}-unknown-linux-gnu ; exit 0 elif test "${UNAME_MACHINE}" = "mips" ; then cat >dummy.c < /dev/null ! if test "$?" = 0 ; then ! LIBC="libc1" ! fi ! fi ! rm -f dummy.s dummy ! echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 elif test "${UNAME_MACHINE}" = "mips" ; then cat >dummy.c < To: egcs@cygnus.com Subject: Re: Minor SS issue... Date: Tue, 19 Aug 1997 19:12:41 -0000 Message-ID: <199708191857.LAA15165@rtl.cygnus.com> In-reply-to: Minor SS issue... X-SW-Source: 1997-08/0186.html Message-ID: <19970819191241.KrjLpm8mCQ2QCAaiYZFfKmcjdl4Q2gETNfBuWj7FYSA@z> In message <199708191554.KAA02170@monolith.solon.com>you write: > Is there a point in egcs-ss-970814 extracting into > egcs-ss-970814/egcs-ss-970814 > ? > > I feel compelled to say "I heard you the first time". :) Huh? % gzcat *.gz | tar vtf - drwxrws--- law/cygnus 0 Aug 15 15:42 1997 ./egcs-ss-970814/ -rw-rw---- law/cygnus 176520 Aug 15 11:55 1997 ./egcs-ss-970814/ChangeLog.10 Did you make a directory called egcs-ss-970814, then cd into it, then extract the snapshot? Jeff