Development Environment Setup¶
This section covers how to set up your development environment for building spksrc packages.
Requirements¶
- A 64-bit x86 (amd64) system - non-x86 host architectures are not supported
- At least 8GB RAM recommended (16GB+ for parallel builds)
- 50GB+ disk space for toolchains and build artifacts
- Internet connection for downloading source files and toolchains
Choose Your Method¶
Best for: Quick setup, consistent environment
- Works on Linux and macOS
- Pre-configured container with all dependencies
- Easy to update
Best for: Full development environment, long-term work
- Complete Debian system
- Can install additional tools
- Good for debugging
Best for: Linux users wanting lightweight isolation
- Lower overhead than VMs
- Shared kernel with host
- Good for multiple environments
After Setup¶
Once your environment is ready:
-
Clone the repository (if using Docker, this is already done)
-
Run initial setup
This createslocal.mkwith default toolchain configuration. -
Test your setup by building a simple package:
-
Continue to Your First Package