add autobuild of some tcc libs #339
5 Participants
Notifications
Due Date
No due date set.
Blocks
#340 libc.obj: update exit
KolibriOS/kolibrios
Reference: KolibriOS/kolibrios#339
Reference in New Issue
Block a user
Delete Branch "Egor00f/kolibrios:add-crt0-autobuild"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement autobuild for(this libs in
programs/develop/ktcc/bin/lib/):crt0.olibtcc1.atiny.olibshell.alibcryptal.alibsound.ait autobuild for kolibrios image and programs build.
link_tccautomatically add this libs toextra_inputsroots of this grow from #311
libc.obj: add auto build `crt.o`to libc.obj: add auto build `crt0.o`This file apparently also needs to be deleted... However, this will probably break the build
668fd4deeb/programs/develop/ktcc/trunk/bin/lib/crt0.oyes. In general, it's better to remove the ktcc binaries from the repository.
No, none of the files in the repository mention
libc.obj/lib/crt.o. And auto build is work. And it have duplicate inktcc/trunk/bin/libPlease note. TCC takes this file from the bin folder. Your builted file is ignored.
Интересный факт: библиотеки(libshell и libcryptal) из автосборки отличаются от тех что были. Они меньше
WIP: libc.obj: add auto build `crt0.o`to WIP: add autobuild of some tcc libsЕсли использовать
libSDL.aизcontrib/..., тоtccне может найтиSDL_MapRGB. С sdl потом когда-нибудь разберусь(удалил мусорные коммиты)
Requesting changes due to a few blocking issues:
High
NO_FASM=fullcan break TCC builds:use_tcc.luaunconditionally adds FASM-related libs/groups, while those artifacts are conditionally produced.Files: programs/use_tcc.lua, programs/develop/ktcc/trunk/Tupfile.lua
High
NO_TCC=fullconfig conflict:ktcc/trunk/Tupfile.luamay requestcrt0.o, butlibc.obj/source/Tupfile.luaexits early onNO_TCC.Files: programs/develop/ktcc/trunk/Tupfile.lua, programs/develop/ktcc/trunk/libc.obj/source/Tupfile.lua
High Risky Tup dependency wiring for
libsound.a: direct cross-tree path to a generated artifact instead of grouped dependency flow.Files: programs/develop/ktcc/trunk/Tupfile.lua, contrib/sdk/sources/sound/Tupfile.lua
Medium Relaxed guards (
NO_TCC && NO_FASM) across TCC apps can enable builds in modes where required linker inputs are missing.Files: programs/system/shell/Tupfile.lua, programs/other/TinyHashView/Tupfile.lua, programs/develop/tinybasic-1.0.4/Tupfile.lua
Low Typo in SSL guard: checks
NO_FASMtwice (A and A).File: programs/develop/libraries/kos_mbedtls/programs/ssl/Tupfile.lua
Fixed
libcryptal.acompleteness issue (blowfish.c): now uses wildcard C source list.File: programs/develop/ktcc/trunk/lib/libcryptal/Tupfile.lua
Fixed
symbolsis declared as input forobjcopy --redefine-syms=symbols.File: contrib/sdk/sources/sound/Tupfile.lua
0398c655bfto99e1a18839By the way, the libc examples use libraries from
programs/develop/ktcc/trunk/bin/lib. It might be worth adding a tup build for them.@Egor00f - Please note that the file path for
ktccwas recently changed with #425. This will conflict with your changes.crt.ofd3eb2661dcrt0.otoprograms/develop/ktcc/trunk/bin/lib& add it tolink_tccdepends 3fc5ffbde3libcryptal.aandlibshell.a267077d4e0tiny.o,libtcc1.a, andlibsound.a, and added the following files to the distribution:*.def,tiny.o,libtcc1.a, andlibsound.a. 0e828d5d9flibsound.abuild && add libSDL.a to distr 248b1980a7libcryptal,libshell,libsounddepends 872ed446bctup.getconfig("NO_FASM") ~= ""0aa44393b2use_tcc.lua&& fix typos d115cc1a46libsound.a&& update libraries list7f94f7f1abto2f0d14dcea67a61cd164toee832c469d