uFTP - FTP Server

uftp server, open source ftp server, linux ftp server, linux ftp server for embedded, easy to configure ftp server, ftp server for initramfs

User Tools

Site Tools


static-compiled-ftp-server

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.

A good way to compile must-gcc is by using this project: https://github.com/richfelker/musl-cross-make

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.txt · Last modified: 2024/04/25 19:47 by kingk