You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using portlib and installed all the needed packages. I've managed a successful build, but until these fixes can be used automatically here's some hints:
GCC
Clang in OSX doesn't like part of the GCC ARM code that uses excessive brackets. It overflows the default limit of 256.
Change line 60 in 002-gcc.sh to:
${MAKE:-make} -j 4 CXXFLAGS="-fbracket-depth=1024" all && ${MAKE:-make} install
VITA-TOOLCHAIN
This code is looking for a file (zipconf.h?) that seems to be in an unexpected location (/opt/local/libzip/include).
Change line 17 in 005-vita-toolchain.sh to:
cmake -DUSE_BUNDLED_ENDIAN_H=ON -DCMAKE_INSTALL_PREFIX=${VITADEV} -DDEFAULT_JSON=../share/db.json -Dlibelf_LIBRARY=${VITADEV}/lib/libelf.a -Dlibelf_INCLUDE_DIR=${VITADEV}/include -Dlibzip_CONFIG_INCLUDE_DIR=/opt/local/lib/libzip/include
The text was updated successfully, but these errors were encountered:
I'm using portlib and installed all the needed packages. I've managed a successful build, but until these fixes can be used automatically here's some hints:
GCC
Clang in OSX doesn't like part of the GCC ARM code that uses excessive brackets. It overflows the default limit of 256.
Change line 60 in 002-gcc.sh to:
${MAKE:-make} -j 4 CXXFLAGS="-fbracket-depth=1024" all && ${MAKE:-make} install
VITA-TOOLCHAIN
This code is looking for a file (zipconf.h?) that seems to be in an unexpected location (/opt/local/libzip/include).
Change line 17 in 005-vita-toolchain.sh to:
cmake -DUSE_BUNDLED_ENDIAN_H=ON -DCMAKE_INSTALL_PREFIX=${VITADEV} -DDEFAULT_JSON=../share/db.json -Dlibelf_LIBRARY=${VITADEV}/lib/libelf.a -Dlibelf_INCLUDE_DIR=${VITADEV}/include -Dlibzip_CONFIG_INCLUDE_DIR=/opt/local/lib/libzip/include
The text was updated successfully, but these errors were encountered: