summaryrefslogtreecommitdiff
path: root/Rules.mak
AgeCommit message (Collapse)Author
2002-01-17Clean up builds on "sh" to use the right ARCH dirsDavid McCullough
2002-01-11More build system cleanups...Eric Andersen
2002-01-11Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen
chicken-and-egg problems when building gcc toolchains. -Erik
2002-01-10Allow people to override the TARGET_ARCH settingEric Andersen
2002-01-09Fixup v850 architecture autodetection, from Miles BaderEric Andersen
<miles@lsi.nec.co.jp>
2002-01-09Be more carefull about erroring out of shell fragments. Try toEric Andersen
enable -falign-functions if avilable.
2002-01-02Cope with all variants of 'gcc -dumpmachine' outputEric Andersen
2002-01-01Support arch specific optimizations (examples shown for x86 and ARM).Eric Andersen
Autodetect target architecture by asking the compiler. -Erik
2001-12-22Bump version number to 0.98Eric Andersen
-Erik
2001-12-21Miles Bader <miles@lsi.nec.co.jp> noted that I'd broken settingEric Andersen
OPTIMIZATION from the Config file. Revert that. -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-26Fix TARGET_CFLAGS to include -fPIC when needed. Libs were beingDavid Schleef
compiled without -fPIC.
2001-11-23Finish ajusting math lib options. Close out a couple of todo items.Eric Andersen
2001-10-02Turn off optimization when debuggingEric Andersen
2001-08-31Preevaluate some stuff so it only gets run once, speeding the compileEric 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-13Add in TARGET_PREFIX, which was still used in a few spots (andEric Andersen
appropriately so). Leave this hidden and set to a sane default since nobody should really need to change it...
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-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-17Better rule for locating dynamic linkerDavid Schleef
2001-07-17Elimintate spurious trailing /Eric Andersen
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-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-06-23Make PIC a config optionEric Andersen
2001-06-23This adds in support for PIC on x86. Unfortunately, this will breakEric Andersen
all arches till they add in an libc/sysdeps/linux/<arch>/bits/syscalls.h file. Sorry about there, there was no other way... -Erik
2001-06-18This commit finishes adding support for the old m68k-coff toolchains byEric Andersen
working around a missing header file in the compiler shipped with the uCsimm and uCdimm. This should make the folk in Toronto happy, since now they can use the latest CVS version of uClibc. -Erik
2001-06-15A few build updatesEric Andersen
2001-06-15Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen
--uclibc-use-build-dir
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-28Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III
from libm float function support. Also, move all Config files out of the main directory.
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-11Rework where libraries get installed to. Now thew will be compiled andEric Andersen
dropped into a uClibc/lib dir when compiling, which will make life a bit easier when installing and cleaning up. Preface uClibc with 'lib' so ldconfig will recognize it as a library. Make all libraries have the uClibc version number attached, making upgrades possible by using the traditional symlink to the .so name plan. -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-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-04-27More trivial changes.Eric Andersen
2001-04-23Fix up the main makefile. Autobuild ld.so and install itEric Andersen
when appropriate,
2001-04-20Change shared lib name. Update install_new target in Makefile.Manuel Novoa III
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-03-19Move yet more stuff into the uClibc_config.h fileEric Andersen
2001-03-19Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen
defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
2001-02-21Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen
and Personal Systems. Thanks! -Erik
2001-02-05Update the build system a bit.Eric Andersen
-Erik
2001-01-29Allow Config to override OPTIMIZATION flags.David McCullough
2001-01-20Add in NATIVE_ARCHEric Andersen
2001-01-15Warn using $(WARNINGS)Eric Andersen
2001-01-12Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
2001-01-12Makefile cleanups. For starters, OPTIMIZATION was missing...Eric Andersen
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen