[uClibc]uClibc 2 little 'bugs'
Andreas Neuhaus
andy at fasta.fh-dortmund.de
Sat May 26 20:45:31 UTC 2001
> 2) gcc-uClibc will never search the build dir for libraries
sorry, sent the wrong patch, this is the right one:
--- extra/gcc-uClibc/gcc-uClibc.c 2001/05/25 01:20:50 1.15
+++ extra/gcc-uClibc/gcc-uClibc.c 2001/05/26 19:40:05
@@ -76,7 +76,6 @@
"-L"UCLIBC_INSTALL_DIR"lib",
"-L"UCLIBC_INSTALL_DIR"usr/lib",
"-L"UCLIBC_BUILD_DIR"lib"
- "-L"UCLIBC_BUILD_DIR"usr/lib"
};
static char static_linking[] = "-static";
@@ -201,6 +200,7 @@
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];
if (use_start) {
struct stat buf;
if (stat(crt0_path[0], &buf) >= 0) {
regards,
andreas neuhaus
More information about the uClibc
mailing list