Displaying 5 results from an estimated 5 matches for "usercrt0".
2003 Oct 04
0
klibc: kbuild improvements
...15:44 2003
+++ edited/Makefile Sat Oct 4 06:51:19 2003
@@ -255,7 +255,7 @@
include $(KLIBSRC)/arch/$(ARCH)/MCONFIG
-export USERLD USERCC USERAR USERSTRIP USERNM \
+export KLIBSRC USERLD USERCC USERAR USERSTRIP USERNM \
USERCFLAGS USERAFLAGS USERLIBGCC USERSHAREDFLAGS USERSTRIPFLAGS \
USERCRT0 USERLIBC
===== scripts/Makefile.user 1.3 vs edited =====
--- 1.3/scripts/Makefile.user Tue Jun 10 05:56:56 2003
+++ edited/scripts/Makefile.user Sat Oct 4 22:47:02 2003
@@ -13,7 +13,7 @@
objectify = $(foreach o,$(1),$(if $(filter /%,$(o)),$(o),$(obj)/$(o)))
-build-multi := $(foreach o,$(bu...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...(USERCPPFLAGS) $(REQFLAGS) $(ARCHREQFLAGS) \
- $(OPTFLAGS) $(USERWARNFLAGS)
-USERAFLAGS := -D__ASSEMBLY__ $(USERCPPFLAGS)
-USERSTRIPFLAGS := --strip-all -R .comment -R .note
-
-USERLIBGCC := $(shell $(USERCC) --print-libgcc)
-USERSHAREDFLAGS := $(SHAREDFLAGS)
-USERCRT0 := $(objtree)/$(KLIBSRC)/arch/$(ARCH)/crt0.o
-USERLIBC := $(objtree)/$(KLIBSRC)/libc.a
-
-#
-# This indicates the location of the final version of the shared library.
-# THIS MUST BE AN ABSOLUTE PATH WITH NO FINAL SLASH.
-# Leave this empty to make it the root.
-#
-SHLIBDIR = /lib
-
-...
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others.
Here are three patches that does the following:
#1 - Update kbuild part of klibc so make clean works
Adds gzip including a sample kbuild file
#2 - Factor out definition of usr/ to two variables
#3 - Move kbuild files to reflect location in the kernel
As requested in earlier mail I need a bit of guidiance of what you
expect from the kernel integrated parts of klibc.
2005 Jul 31
5
Shared versus static linked executables - and strip
I'm still pondering with kbuild and klibc.
Next in line was to get ipconfig support in the kernel (build wise).
A little challenge that is bigger than anticipated was to create
a shared executable. This required a far bigger rewrite of Kbuild.klibc
than originally planned. The good part is that I now managed to treat
linking of objects with single and multiple .o files almost the same.
2005 Jul 26
2
[PATCH] better kbuild integration
...ld : $(user-dirs) $(user-progs)
# Descend if needed
$(sort $(addsuffix /built-in.o,$(user-dirs))): $(user-dirs) ;
+# link program that has only a single .o file
quiet_cmd_user-ld-single = USERLD $@
cmd_user-ld-single = $(USERLD) $(USERLDFLAGS) -o $@ \
$(USERCRT0) $< \
@@ -214,6 +215,7 @@ $(user-single): %: %.o $(USERCRT0) $(USE
targets += $(user-single) $(user-single:=.o)
+# link programs that consist of more than one .o file
multi-deps = $($(subst $(obj)/,,$@-y))
link-multi-deps = $(addprefix $(obj)/, \...