From fa8ceb1f2cb9e729c411d365a14e7cdc1c33fcf2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 19 Mar 1997 20:26:33 +0000 Subject: Update. --- FAQ | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'FAQ') diff --git a/FAQ b/FAQ index 2f2f0a9234..c7d6445ea6 100644 --- a/FAQ +++ b/FAQ @@ -550,7 +550,8 @@ by in the above example specs file to make it work for other systems. -Future versions of GCC will automatically provide the correct specs. +Version 2.7.2.2 does and future versions of GCC will automatically +provide the correct specs. ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ @@ -568,12 +569,6 @@ something like this: GROUP ( libc.so.6 ld.so.1 libc.a ) -{UD} The Linux ldconfig file probably generates a link libc.so -> -libc.so.6 in /lib. This is not correct. There must not be such a -link. The linker script with the above contents is placed in -/usr/lib which is enough for the linker. - - ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [Q18] ``The prototypes for `connect', `accept', `getsockopt', `setsockopt', `getsockname', `getpeername', `send', @@ -603,10 +598,22 @@ invalid. I.e., an emulated FPU is for the libc as good as a real one. [Q20] ``How can I compile gcc 2.7.2.1 from the gcc source code using glibc 2.x? -[A20] {HJL} There is no support in gcc for glibc 2.0 before gcc 2.8. It -is very tricky to compile gcc 2.7.2.1 using glibc 2.x. You have to -build it manually or with one pass only. You also have to use the -specs file in this FAQ while compiling gcc. +[A20] {AJ} There's only support for glibc 2.0 in gcc 2.7.2.2 or later. +For 2.7.2.2 you should use the following patch and configure for +e.g. i486-linux. +----------------------------------------------------------------------- +--- configure Tue Feb 11 15:57:17 1997 ++++ configure Wed Feb 12 23:09:29 1997 +@@ -1021,7 +1021,7 @@ + gnu_ld=yes + # GNU libc version 2 does not supply these; + # we want them from GCC. +- extra_parts="crtbegin.o crtend.o" ++ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS..o" + ;; + i[3456]86-go32-msdos | i[3456]86-*-go32) + cpu_type=i386 +----------------------------------------------------------------------- ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ -- cgit v1.2.3