Overview
Comment: | fix stupid bullshit that was including boot.o in libk.a which already HAS the runtime shit ohmyGOD |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
de8e1eb5d263652f30510b2435f546d4 |
User & Date: | lexi on 2019-06-28 04:52:06 |
Other Links: | manifest | tags |
Context
2019-06-29
| ||
09:31 | add a bunch of code, port the header mechanism to gpp; add a fuckton of definitions and compatibility header code; notably, add core function kstop and x86.lin.{32,64} impl. update docs accordingly check-in: e794c5edef user: lexi tags: trunk | |
2019-06-28
| ||
04:52 | fix stupid bullshit that was including boot.o in libk.a which already HAS the runtime shit ohmyGOD check-in: de8e1eb5d2 user: lexi tags: trunk | |
04:48 | add Kmsz macro check-in: 51af496851 user: lexi tags: trunk | |
Changes
Modified makefile from [2a47be36e1] to [ac03aab83b].
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
$(OUT)/libk.so: $(fnobjects) ld -shared $(COMPLIB) -o $@ $^ @# $(CC) -shared -fPIC -nostdlib $(COMPLIB) -o $@ $(OUT)/*.o $(OUT)/boot.o: $(rtobjects) ld -r $^ -o $(OUT)/boot.o $(OUT)/libk.a: $(fnobjects) $(rtobjects) obj $(OUT) @# using `ar rc` and ranlib here instead of @# `ar rcs` in case `ar` isn't the GNU version ar rc $@ $(OUT)/*.o ranlib $@ $(OUT) $(OUT)/k: mkdir -p $@ |
| | |
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
$(OUT)/libk.so: $(fnobjects)
ld -shared $(COMPLIB) -o $@ $^
@# $(CC) -shared -fPIC -nostdlib $(COMPLIB) -o $@ $(OUT)/*.o
$(OUT)/boot.o: $(rtobjects)
ld -r $^ -o $(OUT)/boot.o
$(OUT)/libk.a: $(fnobjects) $(rtobjects)
@# using `ar rc` and ranlib here instead of
@# `ar rcs` in case `ar` isn't the GNU version
ar rc $@ $^
ranlib $@
$(OUT) $(OUT)/k:
mkdir -p $@
|