This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi! sparc64-linux gcc's specs has /usr/lib64/crti.o hardcoded if -m64 is given, because the gcc driver would otherwise find the 32bit crti.o. Changing this in gcc would require probably prescanning of certain options in the driver before normal option processing because it would have to differentiate paths added to various search paths, so IMHO it is easier to do this in glibc. The rest of sparc64 changes to follow once I wake up. 2001-04-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file. --- libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile.jj Tue Apr 17 13:45:57 2001 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile Wed Apr 18 00:21:14 2001 @@ -0,0 +1,9 @@ +ifeq ($(subdir),linuxthreads) +# gcc -m64 has /usr/lib64/crti.o hardcoded in the specs file, because otherwise +# it would normally find 32bit crti.o. +LDFLAGS-pthread.so += -specs=$(objpfx)specs +before-compile += $(objpfx)specs +postclean-generated += $(subdir)specs +$(objpfx)specs: + $(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs | sed 's_/usr/lib64/crti.o_crti.o_g' > $@ +endif Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |