[uClibc][patch] gcc-uClibc fix

Andreas Neuhaus andy at fasta.fh-dortmund.de
Sun May 20 20:54:49 UTC 2001


hi everybody,

i noticed that in uClibc/ldso/Rules.mak DEVEL is true by default. shouldn't
this be false by default?

also there seems to be a little mistake in gcc-uClibc.c which makes linkage
to crt0.o fail when uClibc was build but not installed (crt0.o is searched
in the wrong path in build dir). here's the patch:

--- uClibc/extra/gcc-uClibc/gcc-uClibc.c    2001/05/12 06:19:03     1.13
+++ uClibc/extra/gcc-uClibc/gcc-uClibc.c    2001/05/20 19:50:21
@@ -69,7 +69,7 @@

 static char *crt0_path[] = {
        UCLIBC_INSTALL_DIR"lib/crt0.o",
-       UCLIBC_BUILD_DIR"crt0.o"
+       UCLIBC_BUILD_DIR"lib/crt0.o"
 };

 static char *lib_path[] = {


regards,
--
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