summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc
AgeCommit message (Collapse)Author
2001-08-13Fix SYSTEM_DEVEL_PREFIX to allow install of the <arch>-uclibc- spooferEric Andersen
toolchain to any arbitrary directory...
2001-08-10Update the build system, yet again. I hope this is the last time...Eric Andersen
Here is the basic theory of operation: SHARED_LIB_LOADER_PATH/ <The location where the shared lib loader will be installed and where the compiler will cause apps to look for it.> DEVEL_PREFIX/ bin/ <contains gcc, ld, etc for setting PATH=$DEVEL_PREFIX/bin:$PATH> lib/ <contains all runtime and static libs> include/ <Where all the header files go> SYSTEM_DEVEL_PREFIX/ usr/bin/ <contains arch-uclibc-gcc, arch-uclibc-ld, etc that might be installed by a .deb or .rpm into /usr/bin, but can happily live under DEVEL_PREFIX> PREFIX This is prepended during 'make install's allowing you to shift things to be installed under some alternate location (such as when building a .deb) -Erik
2001-08-09Fix behavior when installing the devel env, since somewhereEric Andersen
along the line this got messed up...
2001-08-08This syncs things up with my local tree. Mainly changes installerEric Andersen
issues, and syns things (as far as I am willing) with Dave Schleef's tree. We may need to go another round or so, but we do seem to be converging...
2001-07-17Some cleanups needed for things to compile and work as expectedEric Andersen
with the new build system... -Erik
2001-07-12This commit merges David Schleef's updates to the build system, which aEric Andersen
few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik
2001-07-05Don't change options on based on path -- use command line options orEric Andersen
ENV variables only. The current behavior violates the principle of least surprise... -Erik
2001-07-03Oops.Eric Andersen
2001-07-03Allow the shared lib loader to fallback on the builddir if everythingEric Andersen
else fails. Let <arch>-uclibc-gcc --uclibc-use-build-dir set the shared lib loader to the one in the builddir's path. -Erik
2001-07-01Changed dependencies of gcc-uClibc.h to ../../Config instead of cleanDavid Schleef
2001-06-13Don't create a fake readelf app. We are creating a real one now.Eric Andersen
-Erik
2001-05-31Added cmdline options --uclibc-use-build-dir and --uclibc-use-rpath so thatManuel Novoa III
those behaviors can be invoked from the command line.
2001-05-31Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, andManuel Novoa III
TARGET_PREFIX to allow more flexibility. Also modified the gcc wrapper to do the right thing if -Wl,--dynamic-linker,xxx is passed on the command line. The gcc wrapper will also check the env variable UCLIBC_GCC_LDOPT for a dynamic linker option at runtime (although command line arg overrides the env variable).
2001-05-30Look's like I need to disable the rpath stuff for now as well.Manuel Novoa III
To build with an uninstaled uClibc, set UCLIBC_GCC=build in your env, or rename it/symlink to it using a name containing the string "build".
2001-05-30Revert behavior of wrapper to not use dynamic linker in the build dir, soManuel Novoa III
those who want to should now be able to compile against uClibc without installing it (using the "build" behavior).
2001-05-27Revert behavior to either INSTALL_DIR or BUILD_DIR but not both. Also, ifManuel Novoa III
using BUILD_DIR and uClibc dynamic linker, use the one in the build dir. If people want the "both dir" behavior, I'll enable it similar to the "build" and "rpath" behaviors. See the comments in the file for how this works.
2001-05-25One last structural change. Install header files to INSTALLDIR/usr/includeEric Andersen
so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik
2001-05-21Patch from Andreas Neuhaus <andy@fasta.fh-dortmund.de>Eric Andersen
gcc was looking for crt0 in the wrong dir. Oops!
2001-05-16Fix up a few little problemsEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-10Fix up naming of ld.so so every uses the same define. The top levelEric Andersen
was using one name and the ld.so-1 dir was using another (they happened to be the same). Fix that. -Erik
2001-05-07Use the symbolic name, don't hard code.Eric Andersen
2001-05-04This patch allows powerpc to compile again. It also checks if weEric Andersen
are compiling for an arch for which uClibc has an ld.so or not, and otherwise sets things up to use the system ld.so. -Erik
2001-05-04This is kindof neat. With this update, you can now simply set yourEric Andersen
PATH and things will now simply compile vs uClibc. Or you can add INSTALL_DIR/usr/bin to your path and use it as a cross compiler. Either way, it works now. -Erik
2001-05-03Avoid needing to distinguis between the install dir and the buildEric Andersen
dir. Use both automagically when compiling. -Erik
2001-04-26Don't hard-code the major numberEric Andersen
2001-04-25Fix up default .so number. This should avoid conflicts with libc5Eric Andersen
libraries...
2001-04-25Revert my ill-advised change to force the shared lib loader to alwaysEric Andersen
be linked. Just make libc.so link vs the shared lib loader and everything works fine. Duh. Thanks to Michael Shmulevich <michaels@jungo.com> for clueing me in. -Erik
2001-04-23Make sure that we list the shared lib loader as a required libEric Andersen
by explicitly linking against it. That way 'ldd' tells us what we need to know. -Erik
2001-04-23Define where the shared lib loader now lives...Eric Andersen
-Erik
2001-04-20Update the ignore targetsEric Andersen
2001-04-20Update the gcc wrapper. Changes described in the notes at the top of the file.Manuel Novoa III
2001-04-07Fix dynamic linking bug. If you need -ldl, you must explicitly add theManuel Novoa III
library (path and version!!!) to the args instead. For example, add /lib/libdl.so.1 if DYNAMIC_LINKER is /lib/ld-linux.so.1.
2001-04-06Update the ignore file to matchEric Andersen
2001-04-06Make a naming change to be consistent with other cross compiling tools.Eric Andersen
Set up a default lib dir off the root of the uClibc compile dir. This really needs more thought, but is good enough for now I think.
2001-02-28This evening I've been investigating why linking with the shared uClibc libraryEric Andersen
was not working when booting busybox as init, even though it workes when run on my desktop system. I made boot floppy with just /dev, a few /etc entries, busybox dynamically linked vs uClibc, and /lib with shared uClibc in it. And just as several people have reported, it didn't work. So I ran 'ldd /bin/true' and it showed 'true' is linked with the shared library loader. But 'ldd ./busybox' showed it was only linked with uClibc. Doh! Of course it couldn't work! This patch fixes the gcc wrapper so when we link with the shared uClibc library, we also always link with the correct shared lib loader. With this patch in place, I have now sucessfully booted busybox linked vs the shared uClibc library. And it works great! -Erik
2001-02-15Hack DYNAMIC_LINKER setting for now.Manuel Novoa III
2001-02-09Try to automagically pick the correct dynamic linker.Eric Andersen
-Erik
2001-01-30Hide some unnecessary output. Check cvs logging script.Manuel Novoa III
2001-01-23Always use system libc, to facilitate bootstrapping new architectures.Eric Andersen
-Erik
2001-01-17Set dynamic linker used to /lib/ld-linux.so.1. Changeable in Makefile.Manuel Novoa III
2001-01-17Adapted to handle shared libraries as well as static. Fixed Makefile for m68k.Manuel Novoa III
2001-01-16Oops. Forgot to check these in...Eric Andersen
2001-01-15Remove and ignore unwanted generated binariesEric Andersen
2001-01-15First pass at making this work with the new libcrt0.o location.Eric Andersen
2001-01-12Ignore generated files.Eric Andersen
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen