summaryrefslogtreecommitdiff
path: root/libc.a.in
diff options
context:
space:
mode:
authortschwinge <tschwinge>2008-05-30 00:45:36 +0000
committertschwinge <tschwinge>2008-05-30 00:45:36 +0000
commit082cc039a73115e6979da336e2458a69feef8984 (patch)
tree2ae914d424341c2603f28a6c0f679c96451e03f3 /libc.a.in
parentfdc0b89fda9cb61ea651ca3e480cd63983a5e7d3 (diff)
2008-05-29 Thomas Schwinge <tschwinge@gnu.org>
* configure.ac: Include `newlib/headers.m4' and `libc-parts/headers.m4'. (ccheaders, SYSINCLUDES): Remove. (USER_CPPFLAGS, USER_LDFLAGS, KERNEL_CPPFLAGS): Adapt to building with a cross compiler. (USER_LDADD): Remove. (CHECK_CPPFLAGS): Define `_GNU_SOURCE' and `_ENABLE_TESTS'. (CHECK_CFLAGS): New. (HAVE_CROSS, TRAVERSE_HIERARCHY): New conditionals. (--enable-tests, ENABLE_TESTS): New command line option with conditional. (libc.a.in): Instantiate as `sysroot/lib/libc.a'. * libc.a.in: Rewritten to no longer specify file paths, but instead linker switches. * Makefile.am (SUBDIRS): Only recurse into if [TRAVERSE_HIERARCHY]. (libc-stmp): Only consider if [HAVE_CROSS]. [! HAVE_CROSS && ! ENABLE_TESTS]: Build `cross-compiler'. (cross-compiler): New target. Include `Makefoo.am', `binutils/Makefrag.am' and `gcc/Makefrag.am'. * Makefoo.am: New file. * binutils: New directory. * gcc: Likewise. * README: Update.
Diffstat (limited to 'libc.a.in')
-rw-r--r--libc.a.in22
1 files changed, 12 insertions, 10 deletions
diff --git a/libc.a.in b/libc.a.in
index 0d769b3..376d3b1 100644
--- a/libc.a.in
+++ b/libc.a.in
@@ -1,10 +1,12 @@
-GROUP(@LIBC_A@
- @LIBC_M@
- @ABS_BUILDDIR@/libhurd-mm/libhurd-mm.a
- @ABS_BUILDDIR@/viengoos/libhurd-cap.a
- @ABS_BUILDDIR@/libpthread/libpthread.a
- @ABS_BUILDDIR@/libhurd-slab/libhurd-slab.a
- @ABS_BUILDDIR@/libhurd-ihash/libhurd-ihash.a
- @ABS_BUILDDIR@/libhurd-btree/libhurd-btree.a
- @ABS_BUILDDIR@/libc-parts/libc-parts.a
- -lgcc) \ No newline at end of file
+GROUP(
+ -lcrt
+ -lm
+ -lhurd-mm
+ -lhurd-cap
+ -lpthread
+ -lhurd-slab
+ -lhurd-ihash
+ -lhurd-btree
+ -lc-parts
+ -lgcc
+)