Можно попробовать поступить как автор SHELL - просто необходимые функции стандартной библиотеки реализовать самостоятельно в самой программе.Leency wrote:Почему. Почему шашки были 20 Кб, а стали 46 Кб?
Я против такого изменения. Пускай будет две сборки: menuetlibc и newlib, но в дистр IMG вернуть 20кб вариант.
Также пусть кто-то разберется что пихается в бинарники что они так жиреют.
Шашки
Re: Шашки
The best way to predict the future is to create it.
-
- Posts: 412
- Joined: Mon Sep 07, 2020 7:09 pm
Re: Шашки
Можно просто линковать статически. Но насколько я понимаю в автосборка нельзя это сделать.
(просто редко захожу на пару минут)
Re: Шашки
В будущем на замену menuetlibc надо писать свою klibc .maxcodehack wrote:Ради маленького размера использовать устаревшуюужаснуюнестабильную menuetlibc я бы не стал. Но в принципе все равно.
Upd нет можно конечно. Но лучше разобраться как с newlib получить меньший бинарное.
newlib хороша, но ее не засунешь в img
The best way to predict the future is to create it.
-
- Posts: 412
- Joined: Mon Sep 07, 2020 7:09 pm
Re: Шашки
libck из tcc
Menuetlibc тоже в имг не засунешь, тупо статически линкуется.
Menuetlibc тоже в имг не засунешь, тупо статически линкуется.
(просто редко захожу на пару минут)
Re: Шашки
The icon of Checkers is broken in img since January (points outside img).
Since the only result of compiling the game with newlib is its doubled size, I tend to agree with Leency that this change should be reverted.
I personally have never met any stability issues with Checkers linked against menuetlibc.
Generally, I support the effort of using more or less supported newlib instead of menuetlibc.
But this particular case looks like a regression: the program doubled its size and then was moved out of img with no visible advantages.
Since the only result of compiling the game with newlib is its doubled size, I tend to agree with Leency that this change should be reverted.
I personally have never met any stability issues with Checkers linked against menuetlibc.
Generally, I support the effort of using more or less supported newlib instead of menuetlibc.
But this particular case looks like a regression: the program doubled its size and then was moved out of img with no visible advantages.
Who is online
Users browsing this forum: No registered users and 0 guests