static-compiled-ftp-server
This is an old revision of the document!
Static compile - uFTP - FTP server
uFTP can be compiled statically and distributed without annoying dependency issues.
To do that, install musl-gcc in your linux distribution.
Edit the makefile and change the following line
–> comment where CC=gcc –> uncomment where CC=musl-gcc
#Linux Generic #CC=gcc #uncomment next line to compile with musl, suitable for statical compile CC=musl-gcc
--> uncomment where ENDFLAG=-static ENDFLAG= #uncomment next line to compile static no libc required, ENDFLAG=-static
static-compiled-ftp-server.1714067109.txt.gz · Last modified: 2024/04/25 19:45 by kingk