Last change
on this file since 848 was
848,
checked in by sam, 9 years ago
|
build: allow to properly cross-compile for PS3 on Mingw.
|
-
Property svn:executable set to
*
|
File size:
610 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | ## Native PS3 compilation for Lol Engine -- Sam Hocevar <sam@hocevar.net> |
---|
4 | |
---|
5 | set -e |
---|
6 | |
---|
7 | # Only on Windows |
---|
8 | if test "x${MSYSTEM}" = xMINGW32; then |
---|
9 | PATH="$PATH:./contrib/gtk-2.22.1/bin" |
---|
10 | M4PATH="./contrib/gtk-2.22.1/share/aclocal" |
---|
11 | export M4PATH # This looks necessary |
---|
12 | PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`pwd`/contrib/gtkglarea-2.0.1/lib/pkgconfig" |
---|
13 | export PKG_CONFIG_PATH # This looks necessary, too |
---|
14 | fi |
---|
15 | |
---|
16 | # Bootstrap, configure and make |
---|
17 | # NOTE: ensure that $CELL_SDK is set and ppu-lv2-g++ is in the path |
---|
18 | ./bootstrap |
---|
19 | ./configure CXX=ppu-lv2-g++ CC=ppu-lv2-gcc ac_cv_exeext=.elf --host=none |
---|
20 | make -j6 |
---|
21 | |
---|
Note: See
TracBrowser
for help on using the repository browser.