[uClibc]uClibc 2 little 'bugs'
Andreas Neuhaus
andy at fasta.fh-dortmund.de
Sat May 26 20:26:47 UTC 2001
1) typo in libc/Makefile (?)
--- libc/Makefile 2001/05/17 20:12:16 1.4
+++ libc/Makefile 2001/05/26 19:23:24
@@ -46,13 +46,13 @@
@(cd tmp; CC=$(CC) LD=$(LD) /bin/sh
../../extra/scripts/get-needed-libgcc-objects.sh)
if [ -s ./tmp/libgcc-need.a ] ; then \
$(CC) -g $(LDFLAGS) -shared -o $(SHARED_FULLNAME) \
- -Wl,-soname=$(SHARED_MAJORNAME) -Wl,--whole-archive \
+ -Wl,-soname,$(SHARED_MAJORNAME) -Wl,--whole-archive \
./$(LIBNAME) ./tmp/libgcc-need.a \
$(LDSO) -Wl,--dynamic-linker,$(DYNAMIC_LINKER); \
else \
$(CC) -g $(LDFLAGS) -shared -o $(SHARED_FULLNAME) \
-Wl,-soname,$(SHARED_MAJORNAME) -Wl,--whole-archive \
- ./$(LIBNAME)
(LDSO) -Wl,-dynamic-linker=$(DYNAMIC_LINKER); \
+ ./$(LIBNAME)
(LDSO) -Wl,-dynamic-linker,$(DYNAMIC_LINKER); \
fi
@rm -rf tmp
install -d $(TOPDIR)lib
2) gcc-uClibc will never search the build dir for libraries
--- extra/gcc-uClibc/gcc-uClibc.c 2001/05/25 01:20:50 1.15
+++ extra/gcc-uClibc/gcc-uClibc.c 2001/05/26 19:24:39
@@ -201,6 +201,8 @@
gcc_argv[i++] = rpath_link[1]; /* just to be safe */
gcc_argv[i++] = lib_path[0];
gcc_argv[i++] = lib_path[1];
+ gcc_argv[i++] = lib_path[2];
+ gcc_argv[i++] = lib_path[3];
if (use_start) {
struct stat buf;
if (stat(crt0_path[0], &buf) >= 0) {
regards,
andreas neuhaus
--
Life could be so much easier if we could just look at the source code...
.~.
/V\ Andreas Neuhaus, FaStA Informatik FH-Dortmund
// \\ Sonnenstr. 96, D-44139 Dortmund, Tel 0231/9112-734
/( )\ System-Administration FaStA FH-Dortmund
^^-^^
LINUX - Don't fear the penguin
More information about the uClibc
mailing list