https://www.segasaturno.com/portal/viewtopic.php?f=33&t=7702&p=94357#p94357
-----------------------------------
SebasSBM
06 Marzo 2016, 12:00 AM

Re: [Tutorial 5J] Compilación De La Librería Libyaul
-----------------------------------
En mi caso, estoy usando Ubuntu 14.04 LTS.

Te dejo aquí el [i]build-scripts/config[/i]:

[code linenumbers=false]
# Path to tool-chain installation directory
BUILD_INSTALL_DIR="${HOME}/saturn/tool-chains"

# Path to previously downloaded source packages as well as the
# location for temporary files
BUILD_SRC_DIR="/tmp"

# Specifies the number of jobs (commands) to run simultaneously. If
# BUILD_MAKE_JOBS is not set with a value, make(1) will not limit the
# number of jobs that can run simultaneously
BUILD_MAKE_JOBS=8

# Versions
BINUTILS_VERSION="2.24"
GCC_VERSION="4.7.3"
GDB_VERSION="7.7"
NEWLIB_VERSION="1.20.0"

# Tools for host
# The variables below might need to change depending on your OS
AWK="awk"
FETCH="wget"
FETCH_FLAGS=""
GPG="gpg"
MAKE="make"
MD5="md5sum"
# Uncomment the line below if on *BSD or Mac OS X
# MD5="md5"
PATCH="patch"

# Options
# Only valid values are either 'yes' or 'no' -- anything else is
# ignored

# 'yes': Download packages for building the compiler
#  'no': Already downloaded
OPTION_DOWNLOAD_TARBALLS="yes"

# 'yes': Download and build GDB for the sh-elf target
#        Be aware dependencies not covered
#  'no': Do not build
OPTION_ENABLE_GDB="no"
[/code]

Y aquí el [i]yaul.env[/i]:
[code linenumbers=false]
# Path to tool-chain installation directory
export INSTALL_ROOT=/home/mi_usuario/saturn/tool-chains

# Path to where the build is to be located
export BUILD_ROOT=/home/mi_usuario/saturn/libyaul

# Name of build directory
export BUILD=build

# Option: Development cart used:
#  0: None
#  1: USB flash cartridge
#  2: Datel Action Replay cartridge
export OPTION_DEV_CARTRIDGE=1
[/code]

[b]EDICIÓN:[/b]
Por si sirve, he instalado estas librerías:
[code linenumbers=false]
>>> sudo apt-get install libgmp-dev libgmp3-dev
>>> sudo apt-get install libmpfr-dev
>>> sudo apt-get install libmpc-dev
>>> sudo apt-get install realpath
>>> sudo apt-get install libncurses5-dev texinfo
[/code]


