#gnugcc — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #gnugcc, aggregated by home.social.
-
RE: https://mastodon.social/@minotaurs_at_work/116566330254691320
GUYS I DID IT HERE'S HOW:
> Download the #raylib source code.
> Put a terminal in the `src` folder.
> Use #GnuMake with the command `make PLATFORM=PLATFORM_DESKTOP` because we're making a desktop GNU/Linux game.
> This will create an .a file and a series of .o files in the `src` folder.
> Include the .a file in your #GnuGcc linking command with `-L[directory where the file is] -lraylib` and the .o files.
> Remember to include <math.h> with `-lm`and X11 with `-lX11` in your linking command.
-
RE: https://mastodon.social/@minotaurs_at_work/116566330254691320
GUYS I DID IT HERE'S HOW:
> Download the #raylib source code.
> Put a terminal in the `src` folder.
> Use #GnuMake with the command `make PLATFORM=PLATFORM_DESKTOP` because we're making a desktop GNU/Linux game.
> This will create an .a file and a series of .o files in the `src` folder.
> Include the .a file in your #GnuGcc linking command with `-L[directory where the file is] -lraylib` and the .o files.
> Remember to include <math.h> with `-lm`and X11 with `-lX11` in your linking command.
-
STM32. Процесс компиляции и сборки прошивки
Многие из начинающих разработчиков софта для микроконтроллеров реализуют свои проекты исключительно в средствах разработки, которые предоставляются производителем. Многое скрыто от пользователя и очень хорошо скрыто, из-за чего некоторые воспринимают эти процессы сродни настоящей магии. Я, в свою очередь, как человек в пытливым умом и природной любознательностью, решил попробовать собрать проект без использования IDE и различного рода автоматизаций. Так родилась идея для этой статьи: не используя ничего, кроме текстового редактора и командной строки, собрать проект мигания светодиодом на отладочной плате STM32F0-Discovery. Поскольку я не до конца понимал, как происходит процесс компиляции и сборки проекта, мне пришлось восполнять пробелы в знаниях. Разобравшись с этим вопросом, я подумал — а почему бы не рассказать другим об этом? Всем кому интересно — добро пожаловать под кат! 🙂
https://habr.com/ru/companies/timeweb/articles/793152/
#timeweb_статьи #STM32 #linux #ubuntu #openocd #stlink #stflash #debug #preprocessor #linker #gnuarm #gnugcc #armnoneeabi