FBC-WII(1)

NAME
fbc-wii - FreeBASIC compiler driver for Nintendo Wii homebrew

SYNOPSIS
fbc-wii [options] file.bas

DESCRIPTION
fbc-wii is a wrapper around the FreeBASIC compiler configured for the Nintendo Wii homebrew target. It selects the Wii target, the PowerPC GCC backend, the FreeBASIC Wii headers and libraries, and the libogc/devkitPPC toolchain.

The driver produces Wii homebrew output using the normal FreeBASIC command line interface. It expects devkitPro's Wii toolchain and libogc to be installed on the build system.

For games that load files from the current directory, fbc-wii can also stage a homebrew folder and copy asset files beside the DOL.

OPTIONS

--bundle DIR
    Create DIR and, unless an explicit output path is given, write DIR/boot.dol.

--assets DIR
    Copy the contents of DIR beside the DOL after a successful build.

-x FILE
-o FILE
    Forward the FreeBASIC output path. When --assets is used without --bundle , assets are copied beside FILE.

ENVIRONMENT

DEVKITPRO
    Root of the devkitPro installation. Defaults to /opt/devkitpro.

DEVKITPPC
    Root of the devkitPPC toolchain. Defaults to $DEVKITPRO/devkitPPC.

FBWII_PREFIX
    Installation prefix containing the FreeBASIC Wii files. Defaults to /usr.

FBWII_COMPILER
    Path to the target-specific compiler executable.

FBWII_INCDIR
    Path to the FreeBASIC Wii include directory.

FBWII_LIBDIR
    Path to the FreeBASIC Wii runtime library directory.

SEE ALSO
fbc(1)