Forum > Linux

musl libc

(1/1)

benohb:
https://www.musl-libc.org/
Can be used with Free Pascal linker   :)
Do you have any hints or tips for this



--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---# path to the gcclib#ifdef cpui386..........#endif#ifdef cpux86_64 -Fl/usr/lib/x86_64-linux-musl/  #endif

Bi0T1N:
You should also be aware that FPC needs the gcc binary as it is used to get the path to the libgcc. Installing gcc via apk on Alpine increases the size of the image by ~100mb.


--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---/ # gcc -m32 -print-libgcc-file-name/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/libgcc.a/ # gcc -m64 -print-libgcc-file-name/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/libgcc.a
Otherwise it throws several errors with Could not find libgcc on installing FPC from official files as well as │/bin/sh: gcc: not found on compiling the compiler and RTL with make all.

Navigation

[0] Message Index

Go to full version