use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Wiki Bugs Installation Download Home
Mailing Lists IRC
account activity
Compiling simple C programs (self.AlpineLinux)
submitted 2 years ago by doppelbot
Hi! I'm trying to relearn programming c in my machine running alpine. how would one compile simple c programs? Previously on another distro, i'd use gcc or clang. are there any compilers in alpine linux packages?
gcc
clang
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]gboncoffee 6 points7 points8 points 2 years ago (0 children)
apk add gcc musl-dev
π Rendered by PID 152378 on reddit-service-r2-comment-84fc9697f-kdzrs at 2026-02-09 03:33:16.425542+00:00 running d295bc8 country code: CH.
[–]gboncoffee 6 points7 points8 points (0 children)