[klibc] Klibc 2.0.2 build vs -j 30-ish

Thorsten Glaser tg at mirbsd.de
Thu May 9 07:17:14 PDT 2013


Maciej Żenczykowski dixit:

>A potential solution involves adding one line to usr/klibc/Kbuild:
>
>$(obj)/sigsuspend.o: $(obj)/syscalls

This is probably a band-aid for the one file you could discover
needing that header. If there is another one, or will be added
in the future…

In BSD land, we have a 'depend' step that is used to generate,
via the compiler, dependency files. We usually then let the
'depend' Makefile target depend (hah) on all generated headers,
so they are there before gcc -M* is called.

Then, though, something like 'make depend all install' will
NOT work because the dependency file generated by 'make depend'
will need to be included later, so we use 'make depend && make'
etc. normally.

Would that work for klibc?

bye,
//mirabilos
-- 
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
	-- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc



More information about the klibc mailing list