summaryrefslogtreecommitdiffstats
path: root/extra/gcc-uClibc
Commit message (Collapse)AuthorAgeFilesLines
* Add initial support for compiling cpp code.Eric Andersen2002-03-182-16/+42
| | | | -Erik
* Setup so ctors/dtors can run. Disabled for now, since they doEric Andersen2002-03-141-15/+18
| | | | | add a little bit to binary size... -Erik
* Lose the -nostdlib, which causes problems with older binutils, andEric Andersen2002-02-272-1/+2
| | | | | add some fflush calls, since it seems streams are not flushed before an exec
* Remove an erroneous -L-Eric Andersen2002-02-261-1/+1
|
* Patch from Miles Bader: All the -M* options shouldEric Andersen2002-02-261-3/+3
| | | | suppress linking (right now, only `-M' does).
* Yet another iteration...Eric Andersen2002-02-251-51/+62
|
* Both Miles and Manuel complained about this one. I was silentlyEric Andersen2002-02-251-2/+2
| | | | losing all -Wl calls...
* Fix the compiler wrapper yet more...Eric Andersen2002-02-232-6/+4
|
* Fix a corner case which I had botched.Eric Andersen2002-02-231-7/+6
| | | | -Erik
* This should be a little better...Eric Andersen2002-02-231-7/+6
|
* Several needed cleanups to the gcc wrapper.Eric Andersen2002-02-202-18/+78
| | | | -Erik
* Several little additions and cleanups. Add getw() and putw().Eric Andersen2002-02-021-2/+2
| | | | | | Add in some missing header files (netipx/ipx.h include/lastlog.h include/sgtty.h include/sys/perm.h) -Erik
* Updates to the v850 architecture from Miles Bader <miles@gnu.org>Eric Andersen2002-01-291-6/+1
|
* Patch from Michael E Brown <mebrown@michaels-house.net> toEric Andersen2002-01-091-25/+88
| | | | | support setting DEVEL_PREFIX and BUILD_DIR at runtime instead of having to recompile the wrapper. Minor changes by me.
* Oops. I accidentally commited some experimental test codeEric Andersen2001-12-201-21/+3
| | | | | (which was broken) yesterday. Revert that bit. -Erik
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-192-0/+28
|
* A few more (final?) cleanups for the installer behavior. I now thinkEric Andersen2001-08-131-3/+3
| | | | things are working perfectly (perhaps I shouln't think so much)
* Fix SYSTEM_DEVEL_PREFIX to allow install of the <arch>-uclibc- spooferEric Andersen2001-08-131-8/+8
| | | | toolchain to any arbitrary directory...
* Update the build system, yet again. I hope this is the last time...Eric Andersen2001-08-101-11/+10
| | | | | | | | | | | | | | | | | | | 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
* Fix behavior when installing the devel env, since somewhereEric Andersen2001-08-091-7/+9
| | | | along the line this got messed up...
* This syncs things up with my local tree. Mainly changes installerEric Andersen2001-08-081-10/+10
| | | | | | 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...
* Some cleanups needed for things to compile and work as expectedEric Andersen2001-07-171-8/+8
| | | | | with the new build system... -Erik
* This commit merges David Schleef's updates to the build system, which aEric Andersen2001-07-122-26/+19
| | | | | | few tiny fixups here and there from me. Seems to work just fine and will hopefully be a bit better behaved. -Erik
* Don't change options on based on path -- use command line options orEric Andersen2001-07-051-2/+2
| | | | | | ENV variables only. The current behavior violates the principle of least surprise... -Erik
* Oops.Eric Andersen2001-07-031-1/+1
|
* Allow the shared lib loader to fallback on the builddir if everythingEric Andersen2001-07-032-1/+6
| | | | | | else fails. Let <arch>-uclibc-gcc --uclibc-use-build-dir set the shared lib loader to the one in the builddir's path. -Erik
* Changed dependencies of gcc-uClibc.h to ../../Config instead of cleanDavid Schleef2001-07-011-1/+1
|
* Don't create a fake readelf app. We are creating a real one now.Eric Andersen2001-06-131-2/+2
| | | | -Erik
* Added cmdline options --uclibc-use-build-dir and --uclibc-use-rpath so thatManuel Novoa III2001-05-311-3/+11
| | | | those behaviors can be invoked from the command line.
* Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, andManuel Novoa III2001-05-312-47/+60
| | | | | | | | 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).
* Look's like I need to disable the rpath stuff for now as well.Manuel Novoa III2001-05-301-0/+6
| | | | | 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".
* Revert behavior of wrapper to not use dynamic linker in the build dir, soManuel Novoa III2001-05-301-1/+1
| | | | | those who want to should now be able to compile against uClibc without installing it (using the "build" behavior).
* Revert behavior to either INSTALL_DIR or BUILD_DIR but not both. Also, ifManuel Novoa III2001-05-271-32/+28
| | | | | | | 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.
* One last structural change. Install header files to INSTALLDIR/usr/includeEric Andersen2001-05-251-1/+3
| | | | | | | so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik
* Patch from Andreas Neuhaus <andy@fasta.fh-dortmund.de>Eric Andersen2001-05-211-1/+1
| | | | gcc was looking for crt0 in the wrong dir. Oops!
* Fix up a few little problemsEric Andersen2001-05-161-9/+2
|
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-121-3/+3
| | | | | | | | | 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
* Fix up naming of ld.so so every uses the same define. The top levelEric Andersen2001-05-101-1/+1
| | | | | | was using one name and the ld.so-1 dir was using another (they happened to be the same). Fix that. -Erik
* Use the symbolic name, don't hard code.Eric Andersen2001-05-071-1/+1
|
* This patch allows powerpc to compile again. It also checks if weEric Andersen2001-05-041-1/+6
| | | | | | 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
* This is kindof neat. With this update, you can now simply set yourEric Andersen2001-05-042-23/+36
| | | | | | | 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
* Avoid needing to distinguis between the install dir and the buildEric Andersen2001-05-032-14/+22
| | | | | dir. Use both automagically when compiling. -Erik
* Don't hard-code the major numberEric Andersen2001-04-261-1/+1
|
* Fix up default .so number. This should avoid conflicts with libc5Eric Andersen2001-04-251-4/+18
| | | | libraries...
* Revert my ill-advised change to force the shared lib loader to alwaysEric Andersen2001-04-251-3/+0
| | | | | | | 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
* Make sure that we list the shared lib loader as a required libEric Andersen2001-04-231-0/+3
| | | | | | by explicitly linking against it. That way 'ldd' tells us what we need to know. -Erik
* Define where the shared lib loader now lives...Eric Andersen2001-04-231-9/+2
| | | | -Erik
* Update the ignore targetsEric Andersen2001-04-201-5/+6
|
* Update the gcc wrapper. Changes described in the notes at the top of the file.Manuel Novoa III2001-04-202-59/+113
|
* Fix dynamic linking bug. If you need -ldl, you must explicitly add theManuel Novoa III2001-04-071-5/+1
| | | | | library (path and version!!!) to the args instead. For example, add /lib/libdl.so.1 if DYNAMIC_LINKER is /lib/ld-linux.so.1.