summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc
AgeCommit message (Collapse)Author
2002-07-31Patch from Alexander Pevzner <pzz@pzz.msk.ru> to fixup things when invoked asEric Andersen
the C++ compiler to to automagically add include/g++ into the include search path, and automagically add -lstdc++ and -lm into the set of automatically linked libraries.
2002-07-05Only enable elf2flt support when using elf toolchainsEric Andersen
-Erik
2002-07-02Change the default structure of the installed toolchainEric Andersen
-Erik
2002-06-20Add support for doing the mmu-less thingEric Andersen
-Erik
2002-06-20Fix a bug reported by Michael Weiser <michael@weiser.saale-net.de>Eric Andersen
which could cause incorrect invocations of g++. Cleanup a few things. Add a new --uclibc-ctors flag allowing one to apply ctor/dtor support to regular C code. -Erik
2002-05-30Put GCCINCDIR here, which is the only place it is needed.Eric Andersen
-Erik
2002-05-24Send the -s to the linkerEric Andersen
2002-03-22It doesn't make sense to supress linking for -i or -r,Eric Andersen
-Erik
2002-03-22Fix incorrect ordering of -L and -l options, which prevented thingsEric Andersen
like iproute2 and XFree86 from linking. -Erik
2002-03-18Add initial support for compiling cpp code.Eric Andersen
-Erik
2002-03-14Setup so ctors/dtors can run. Disabled for now, since they doEric Andersen
add a little bit to binary size... -Erik
2002-02-27Lose the -nostdlib, which causes problems with older binutils, andEric Andersen
add some fflush calls, since it seems streams are not flushed before an exec
2002-02-26Remove an erroneous -L-Eric Andersen
2002-02-26Patch from Miles Bader: All the -M* options shouldEric Andersen
suppress linking (right now, only `-M' does).
2002-02-25Yet another iteration...Eric Andersen
2002-02-25Both Miles and Manuel complained about this one. I was silentlyEric Andersen
losing all -Wl calls...
2002-02-23Fix the compiler wrapper yet more...Eric Andersen
2002-02-23Fix a corner case which I had botched.Eric Andersen
-Erik
2002-02-23This should be a little better...Eric Andersen
2002-02-20Several needed cleanups to the gcc wrapper.Eric Andersen
-Erik
2002-02-02Several little additions and cleanups. Add getw() and putw().Eric Andersen
Add in some missing header files (netipx/ipx.h include/lastlog.h include/sgtty.h include/sys/perm.h) -Erik
2002-01-29Updates to the v850 architecture from Miles Bader <miles@gnu.org>Eric Andersen
2002-01-09Patch from Michael E Brown <mebrown@michaels-house.net> toEric Andersen
support setting DEVEL_PREFIX and BUILD_DIR at runtime instead of having to recompile the wrapper. Minor changes by me.
2001-12-20Oops. I accidentally commited some experimental test codeEric Andersen
(which was broken) yesterday. Revert that bit. -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-08-13A few more (final?) cleanups for the installer behavior. I now thinkEric Andersen
things are working perfectly (perhaps I shouln't think so much)
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