How to specify musl vs glibc to cc, if host has both musl-dev and libc-dev installed?

2 posts / 0 new
Last post
#1 Fri, 2017-04-14 21:01
mcandre
  • mcandre's picture
  • Offline
  • Last seen: 1 day 11 hours ago
  • Joined: 2016-02-09

In a Linux host with both libc-dev and musl-dev installed, how should the user hint to the C compiler which of these to target?

Tue, 2017-05-30 01:06
Franklin Yu
  • Franklin Yu's picture
  • Offline
  • Last seen: 10 months 6 days ago
  • Joined: 2017-03-12

According to musl site, the best way is to use musl-gcc (which is just called gcc in Alpine Linux).

Log in or register to post comments