8
edits
m (Edited link to port forum (previously pointed to PS2 port forum)) |
(Changed $PORTLIBS to $PORTLIBS_PREFIX (to match most recent devkitarm.sh and 3dsvars.sh)) |
||
Line 187: | Line 187: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
mkdir -p $ | mkdir -p $PORTLIBS_PREFIX | ||
./configure --prefix=$ | ./configure --prefix=$PORTLIBS_PREFIX --host=arm-none-eabi --disable-shared --enable-static | ||
make | make | ||
make install | make install | ||
Line 210: | Line 210: | ||
In the source directory of the library: | In the source directory of the library: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
export | export PORTLIBS_PREFIX=$DEVKITPRO/portlibs/3ds | ||
export PATH=$DEVKITARM/bin:$PATH | export PATH=$DEVKITARM/bin:$PATH | ||
export PKG_CONFIG_PATH=$ | export PKG_CONFIG_PATH=$PORTLIBS_PREFIX/lib/pkgconfig | ||
export PKG_CONFIG_LIBDIR=$ | export PKG_CONFIG_LIBDIR=$PORTLIBS_PREFIX/lib/pkgconfig | ||
export CFLAGS="-g -march=armv6k -mtune=mpcore -mfloat-abi=hard -O2 | export CFLAGS="-g -march=armv6k -mtune=mpcore -mfloat-abi=hard -O2 | ||
-mword-relocations -ffunction-sections -fdata-sections" | -mword-relocations -ffunction-sections -fdata-sections" | ||
export CPPFLAGS="-I$ | export CPPFLAGS="-I$PORTLIBS_PREFIX/include -I$CTRULIB/include" | ||
export LDFLAGS="-L$ | export LDFLAGS="-L$PORTLIBS_PREFIX/lib" | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 239: | Line 239: | ||
Note: In more recent codebases of ScummVM, you may or may not need to set the following beforehand: | Note: In more recent codebases of ScummVM, you may or may not need to set the following beforehand: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
export PKG_CONFIG_LIBDIR=$ | export PKG_CONFIG_LIBDIR=$PORTLIBS_PREFIX/lib/pkgconfig | ||
</syntaxhighlight> | </syntaxhighlight> | ||
See above for <code>$ | See above for <code>$PORTLIBS_PREFIX</code>. | ||
ScummVM doesn't provide the CA certificates bundle required by the cloud synchronization features. | ScummVM doesn't provide the CA certificates bundle required by the cloud synchronization features. |
edits