Skip to content

Ronsor/cosmo-cross-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosmo-cross-sdk

Cosmo-cross-sdk is a set of scripts to aid in building third-party software with the Cosmopolitan C library.

Usage:

Set the COSMO_REPO, COSMO_MODE, and COSMO_SYSROOT to appropriate values:

export COSMO_REPO=/path/to/git/cloned/repo # Path to cosmopolitan repo
export COSMO_MODE=rel # Build mode used
export COSMO_SYSROOT=$PWD/sysroot # Path to sysroot
export COSMO_STUBS=$PWD/lib
export PATH="$PWD/bin:$PATH"

mkdir -p ${COSMO_SYSROOT}/{lib,include}
cosmo-config --gen-stubs

Better documentation coming soon!

About

Simple cross-compiling with Cosmopolitan libc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published