This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] inhibit_libc in config/rs6000/linux.h


Richard Henderson wrote:
> 
> On Tue, Sep 11, 2001 at 10:28:54PM -0400, Will Cohen wrote:
> > I don't think what you are proposing is going to easy to implement.
> 
> No, Will, make install-headers already exists, works, and
> is the proper solution.
> 
> r~

This morning I set up a compiler to appear to be the cross compiler so
that the glibc configure would complete. Then rather than doing a full
"make" of glibc I attempted a "make install-headers". It didn't work.
The configure appears to work, and then I started the "make
install-headers". Below is the tail end of the log from the build:

i386-linux-gnu-gcc rpc_sample.c -c -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -fno-reorder-blocks -g     
-I../include -I.
-I/dunes/wcohen/stdzd-tools/testdevo/x86-glibc-build/glibc-stage2/sunrpc
-I.. -I../libio 
-I/dunes/wcohen/stdzd-tools/testdevo/x86-glibc-build/glibc-stage2
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem
/usr/cygnus/gnupro-00r1/H-i686-pc-linux-gnulibc2.2/lib/gcc-lib/i686-pc-linux-gnulibc2.2/2.96-gnupro-00r1/include
-isystem
/dunes/wcohen/stdzd-tools/testdevo/x86-glibc-build/sysroot-stage2/usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h    
-D_RPC_THREAD_SAFE_ -o
/dunes/wcohen/stdzd-tools/testdevo/x86-glibc-build/glibc-stage2/sunrpc/rpc_sample.o
make[2]: *** No rule to make target
`/dunes/wcohen/stdzd-tools/testdevo/x86-glibc-build/glibc-stage2/elf/soinit.os',
needed by
`/dunes/wcohen/stdzd-tools/testdevo/x86-glibc-build/glibc-stage2/libc.so'. 
Stop.
make[2]: Leaving directory
`/dunes/wcohen/stdzd-tools/testdevo/glibc/libc/sunrpc'

What deviation am I making from "the proper solution?" Or has something
broken the "make install-headers" recently?

-Will
-- 
Will Cohen, GCC Engineer                         ------    ,__o
Red Hat, 2600 Meridian pkwy, Durham, NC 27713   ------   _-\_<,
Office (919)-547-0012 x390  Fax (919)-547-0024 ------   (*)/'(*)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]