libk  Check-in [de8e1eb5d2]

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: de8e1eb5d263652f30510b2435f546d4079443efb60b0ee8eca19b3853e8f566
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     92   $(OUT)/libk.so: $(fnobjects) 
    93     93   	ld -shared $(COMPLIB) -o $@ $^
    94     94   	@# $(CC) -shared -fPIC -nostdlib $(COMPLIB) -o $@ $(OUT)/*.o
    95     95   
    96     96   $(OUT)/boot.o: $(rtobjects)
    97     97   	ld -r $^ -o $(OUT)/boot.o
    98     98   
    99         -$(OUT)/libk.a: $(fnobjects) $(rtobjects) obj $(OUT)
           99  +$(OUT)/libk.a: $(fnobjects) $(rtobjects)
   100    100   	@# using `ar rc` and ranlib here instead of
   101    101   	@# `ar rcs` in case `ar` isn't the GNU version
   102         -	ar rc $@ $(OUT)/*.o
          102  +	ar rc $@ $^
   103    103   	ranlib $@
   104    104   
   105    105   $(OUT) $(OUT)/k:
   106    106   	mkdir -p $@