{"id":52800,"date":"2019-11-17T00:00:00","date_gmt":"2019-11-16T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/dostupna-standartnaya-si-biblioteka-picolibc-1-1"},"modified":"2020-02-18T14:00:36","modified_gmt":"2020-02-18T11:00:36","slug":"dostupna-standartnaya-si-biblioteka-picolibc-1-1","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/dostupna-standartnaya-si-biblioteka-picolibc-1-1","title":{"rendered":"El\u00e9rhet\u0151 a PicoLibc 1.1 standard C k\u00f6nyvt\u00e1r","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Keith Packard, a prominent developer of Debian, leader of the X.Org project, and creator of multiple X extensions including XRender, XComposite, and XRandR, <noindex><a rel=\"nofollow\" href=\"https:\/\/keithp.com\/blogs\/picolibc-1.1\/\">bemutatott<\/a><\/noindex> az \u00faj szabv\u00e1ny C k\u00f6nyvt\u00e1r kiad\u00e1sa <noindex><a rel=\"nofollow\" href=\"https:\/\/keithp.com\/picolibc\/\">PicoLibc 1.1<\/a><\/noindex>, amelyet be\u00e1gyazott eszk\u00f6z\u00f6k\u00f6n val\u00f3 haszn\u00e1latra fejlesztenek, korl\u00e1tozott \u00e1lland\u00f3 t\u00e1rol\u00f3 \u00e9s RAM m\u00e9rettel. A fejleszt\u00e9s sor\u00e1n a k\u00f3d egy r\u00e9sze a <noindex><a rel=\"nofollow\" href=\"http:\/\/sourceware.org\/newlib\/\">newlib<\/a><\/noindex> a Cygwin projektb\u0151l \u00e9s <noindex><a rel=\"nofollow\" href=\"https:\/\/www.nongnu.org\/avr-libc\/\">AVR Libc<\/a><\/noindex>, amely az Atmel AVR mikrokontrollerhez k\u00e9sz\u00fclt. A PicoLibc k\u00f3dja <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/keith-packard\/picolibc\">terjeszt\u00e9sre ker\u00fcl<\/a><\/noindex> BSD licensz alatt \u00e1ll. A k\u00f6nyvt\u00e1r \u00e9p\u00edt\u00e9se ARM (32-bit), i386, RISC-V, x86_64 \u00e9s PowerPC architekt\u00far\u00e1kra t\u00e1mogatott.<\/p>\n<p>A Kit Packard elind\u00edtotta a fejleszt\u00e9st, miut\u00e1n nem tal\u00e1lt megfelel\u0151 Libc v\u00e1ltozatot, amelyet be\u00e1gyazott eszk\u00f6z\u00f6k\u00f6n, alacsony RAM-mal lehetett volna haszn\u00e1lni. A projekt tavaly \u00f3ta fejl\u0151dik. Az els\u0151 szakaszban a projekt egy newlib v\u00e1ltozat\u00e1t k\u00e9pezte, amelyben a stdio funkci\u00f3kat az avrlibc kompakt v\u00e1ltozata v\u00e1ltotta fel (a newlib stdio nagy er\u0151forr\u00e1s-felhaszn\u00e1l\u00e1sa miatt nem volt megfelel\u0151). Mivel Kit folyamatosan dolgozik a RISC-V architekt\u00far\u00e1val \u00e9s az be\u00e1gyazott eszk\u00f6z\u00f6k sz\u00e1m\u00e1ra k\u00e9sz\u00fclt eszk\u00f6zk\u00e9szlet fejleszt\u00e9s\u00e9n, nemr\u00e9giben \u00e1ttekintette a libc implement\u00e1ci\u00f3k \u00e1llapot\u00e1t, \u00e9s arra a k\u00f6vetkeztet\u00e9sre jutott, hogy minim\u00e1lis \u00e1talak\u00edt\u00e1ssal a newlib \u00e9s avrlibc kombin\u00e1ci\u00f3ja j\u00f3 \u00e1ltal\u00e1nos megold\u00e1ss\u00e1 v\u00e1lhat. A projekt kezdetben 'newlib-nano' n\u00e9ven fejl\u0151d\u00f6tt, de hogy elker\u00fclj\u00e9k a z\u0171rzavart a Newlib k\u00f6nyvt\u00e1rral, PicoLibc-ra nevezt\u00e9k \u00e1t.<\/p>\n<p>A jelenlegi \u00e1llapot\u00e1ban a Picolibc m\u00e1r elv\u00e9gezte a nem BSD licenc alatt ker\u00fclt k\u00f3d elt\u00e1vol\u00edt\u00e1s\u00e1t (ez a k\u00f3d nem volt haszn\u00e1lva az be\u00e1gyazott eszk\u00f6z\u00f6kkel val\u00f3 ford\u00edt\u00e1s sor\u00e1n), ami jelent\u0151sen egyszer\u0171s\u00edtette a projekt licenszel\u00e9si helyzet\u00e9t. A helyi sz\u00e1lak megval\u00f3s\u00edt\u00e1sa a 'struct _reent'-t\u0151l TLS mechanizmusra v\u00e1ltott.<noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Thread-local_storage\">sz\u00e1l-specifikus t\u00e1rol\u00e1s<\/a><\/noindex>). Alap\u00e9rtelmez\u00e9s szerint aktiv\u00e1lva van a kompakt stdio v\u00e1ltozat, amely az avrlibc k\u00f3dj\u00e1b\u00f3l sz\u00e1rmazik (az Atmel-specifikus assembly besz\u00far\u00e1sokat C nyelvre \u00edrt\u00e1k \u00e1t). A Meson eszk\u00f6zk\u00e9szletet haszn\u00e1lt\u00e1k a ford\u00edt\u00e1shoz, lehet\u0151v\u00e9 t\u00e9ve a newlib ford\u00edt\u00e1si forgat\u00f3k\u00f6nyvekhez val\u00f3 k\u00f6t\u0151d\u00e9s elker\u00fcl\u00e9s\u00e9t \u00e9s a newlib-b\u0151l sz\u00e1rmaz\u00f3 m\u00f3dos\u00edt\u00e1sok egyszer\u0171s\u00edt\u00e9s\u00e9t. Egy egyszer\u0171s\u00edtett inicializ\u00e1l\u00f3 k\u00f3d (crt0) ker\u00fclt hozz\u00e1ad\u00e1sra, amely a v\u00e9grehajthat\u00f3 f\u00e1jlhoz csatlakozik \u00e9s a main() f\u00fcggv\u00e9ny kezel\u00e9s\u00e9re val\u00f3 \u00e1tad\u00e1sa el\u0151tt v\u00e9grehajt\u00f3dik.<\/p>\n<p>A PicoLibc 1.1-es verzi\u00f3j\u00e1ban:<\/p>\n<ul>\n<li class=\"l\"> Hozz\u00e1adva egy seg\u00e9dk\u00f6nyvt\u00e1r a ' t\u00e1mogat\u00e1s\u00e1hoz \u00e9s<noindex><a rel=\"nofollow\" href=\"http:\/\/www.keil.com\/support\/man\/docs\/armcc\/armcc_pge1358787046598.htm\">semihosting<\/a><\/noindex>amely lehet\u0151v\u00e9 teszi a debuggers vagy emulator k\u00f6rnyezetben fut\u00f3 k\u00f3d sz\u00e1m\u00e1ra, hogy haszn\u00e1lja a gazdaszerver I\/O mechanizmusait;\n<li class=\"l\"> A tinystdio-hoz POSIX szabv\u00e1nyos bemeneti\/kimeneti interf\u00e9szek, k\u00f6zt\u00fck az fopen \u00e9s fdopen funkci\u00f3k, valamint a stdin\/stdout\/stderr k\u00f6t\u00e9sek hozz\u00e1ad\u00e1sra ker\u00fcltek, amelyek a POSIX \u00e1ltal defini\u00e1lt f\u00e1jl le\u00edr\u00f3khoz kapcsol\u00f3dnak;\n<li class=\"l\"> A legut\u00f3bbi v\u00e1ltoz\u00e1sok \u00e1tker\u00fcltek a newlib k\u00f3dalapb\u00f3l. Bele\u00e9rtve a libm \u00e1llv\u00e1nyok hozz\u00e1ad\u00e1s\u00e1t, amelyek <noindex><a rel=\"nofollow\" href=\"http:\/\/man7.org\/linux\/man-pages\/man3\/fenv.3.html\">fenv.h<\/a><\/noindex>, amelyek haszn\u00e1lhat\u00f3k lebeg\u0151pontos sz\u00e1m\u00edt\u00e1sok t\u00e1mogat\u00e1sa n\u00e9lk\u00fcli rendszereken;\n<li class=\"l\"> Hozz\u00e1adva egy p\u00e9ldaprojekt a 'Hello world' alkalmaz\u00e1s \u00f6ssze\u00e1ll\u00edt\u00e1s\u00e1hoz picolibc-vel ARM \u00e9s RISC-V rendszerekhez;\n<li class=\"l\"> Elt\u00e1vol\u00edtva a newlib, libm \u00e9s mathfp mapp\u00e1k, amelyek nem haszn\u00e1lt k\u00eds\u00e9rleti k\u00f3dot tartalmaztak.\n<\/ul>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51873\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f XRender, XComposite \u0438 XRandR, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b \u0432\u044b\u043f\u0443\u0441\u043a \u043d\u043e\u0432\u043e\u0439 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0421\u0438-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 PicoLibc 1.1, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0430 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445 \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u043c \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0438 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438. \u041f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0447\u0430\u0441\u0442\u044c \u043a\u043e\u0434\u0430 \u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0430 \u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 newlib \u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0421ygwin \u0438 AVR Libc, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0432\u0448\u0435\u0439\u0441\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-52800","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f XRender, XComposite \u0438 XRandR,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/dostupna-standartnaya-si-biblioteka-picolibc-1-1\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f \u0421\u0438-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 PicoLibc 1.1 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f XRender, XComposite \u0438 XRandR,\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/dostupna-standartnaya-si-biblioteka-picolibc-1-1\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-11-16T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:00:36+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47El\u00e9rhet\u0151 a PicoLibc 1.1 szabv\u00e1nyos C k\u00f6nyvt\u00e1r | ProHoster","description":"Keith Packard, a prominent developer of Debian, leader of the X.Org project, and creator of multiple X extensions including XRender, XComposite, and XRandR,","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/dostupna-standartnaya-si-biblioteka-picolibc-1-1","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f \u0421\u0438-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 PicoLibc 1.1 | ProHoster","og:description":"\u041a\u0438\u0442 \u041f\u0430\u043a\u043a\u0430\u0440\u0434 (Keith Packard), \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Debian, \u043b\u0438\u0434\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 X.Org \u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 X-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439, \u0432\u043a\u043b\u044e\u0447\u0430\u044f XRender, XComposite \u0438 XRandR,","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/dostupna-standartnaya-si-biblioteka-picolibc-1-1","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-11-16T21:00:00+00:00","article:modified_time":"2020-02-18T11:00:36+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"52800","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-24 04:56:23","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 20:36:37","updated":"2026-01-24 04:56:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/52800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=52800"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/52800\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=52800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=52800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=52800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}