mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-21 01:44:16 -05:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
590464b4e5 | ||
|
|
c852d90043 | ||
|
|
be5546a122 | ||
|
|
0ccd646fec | ||
|
|
d1891441af | ||
|
|
a53e338a21 | ||
|
|
973ae4bdb7 | ||
|
|
bf6f1d0454 | ||
|
|
c34990450a |
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
#---------------------------------------------------------------------------------
|
||||
# devkitARM release 46
|
||||
# devkitPPC release 29
|
||||
# devkitPPC release 29-1
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
if [ 0 -eq 1 ] ; then
|
||||
@@ -28,7 +28,7 @@ GENERAL_TOOLS_VER=1.0.0
|
||||
LIBGBA_VER=0.5.0
|
||||
GBATOOLS_VER=1.0.0
|
||||
|
||||
LIBNDS_VER=1.6.0
|
||||
LIBNDS_VER=1.6.1
|
||||
DEFAULT_ARM7_VER=0.7.0
|
||||
DSWIFI_VER=0.4.0
|
||||
MAXMOD_VER=1.0.10
|
||||
|
||||
@@ -8,7 +8,7 @@ MEMORY {
|
||||
the patcher / linker to find all shifted addresses within each section.
|
||||
Changed sections are: glue_7, got
|
||||
*/
|
||||
ddmem : ORIGIN = 0xBF800000, LENGTH = 32K
|
||||
ddmem : ORIGIN = 0xBF800000, LENGTH = 16K
|
||||
}
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -75,7 +75,13 @@ cd $target/gcc
|
||||
|
||||
if [ ! -f configured-gcc ]
|
||||
then
|
||||
CFLAGS="$cflags" CXXFLAGS="$cflags" LDFLAGS="$ldflags" CFLAGS_FOR_TARGET="-O2" CXXFLAGS_FOR_TARGET="-O2" LDFLAGS_FOR_TARGET="" ../../gcc-$GCC_VER/configure \
|
||||
CFLAGS="$cflags" \
|
||||
CXXFLAGS="$cflags" \
|
||||
LDFLAGS="$ldflags" \
|
||||
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|
||||
CXXFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|
||||
LDFLAGS_FOR_TARGET="" \
|
||||
../../gcc-$GCC_VER/configure \
|
||||
--enable-languages=c,c++,objc \
|
||||
--enable-lto $plugin_ld \
|
||||
--with-cpu=750 \
|
||||
@@ -89,7 +95,7 @@ then
|
||||
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
|
||||
--prefix=$prefix\
|
||||
--with-system-zlib\
|
||||
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitPPC release 29" \
|
||||
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitPPC release 29-1" \
|
||||
$CROSS_PARAMS \
|
||||
|| { echo "Error configuring gcc stage 1"; exit 1; }
|
||||
touch configured-gcc
|
||||
@@ -119,6 +125,7 @@ unset LDFLAGS
|
||||
|
||||
if [ ! -f configured-newlib ]
|
||||
then
|
||||
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|
||||
../../newlib-$NEWLIB_VER/configure \
|
||||
--target=$target \
|
||||
--prefix=$prefix \
|
||||
|
||||
Reference in New Issue
Block a user