2 ms·
Courtesy heads up for any hardware n00bs like myself who are buying the parts to work through this series hands-on: some of the required parts are hard to find.
by kaycebasques 4y ago
Courtesy heads up for any hardware n00bs like myself who are buying the parts to work through this series hands-on: some of the required parts are hard to find. You should double-check that your replacement parts will work. https://news.ycombinator.com/item?id=33360830 https://news.ycombinator.com/item?id=33360830
- 082349872349872 4y agoEven as a pure software weenie it may be worth playing with gcc -nostdlib sometime, just to get a feel for what is done for you in crt0 and libc.
- galangalalgol 4y agoHad a class back in college where the first project was to write a tiny stdlib in 68000 assembly, then we got to call it from c to write a simple os. It was very illuminating.
- pitaj 4y agoOn that topic, god I wish it was possible to get some of the crt without the stdlib. I wish I didn't have to manually implement 64-bit division in those cases.
- sargstuff 4y agoMuch more concise answer than from [1], but [1] is free advice less internet connection cost(s): 1) 'Is main() a required startup function?' & 'Is standard library initialization required for main() startup?' 2) But sdiff -s of answer from [1] to 'Is a dynamic linker required for startup page alignement?' with 'Is a dynamic linker required for startup page alignment?' is kinda bit verbose. 3) 'Is standard library initialization required for main() startup? How much resources should be allocated to startup libraries?' [1] answer sounds like to overly broad an approach. [1] : https://ask-paulg.up.railway.app/ https://ask-paulg.up.railway.app/