User:VladVukicevic/ARMNotes
From MozillaWiki
- Building native GCC, starting from cs2007q3 source, inside armel scratchbox:
binutils:
CFLAGS="-O2 -march=armv6 -mcpu=arm1136j-s" ./configure --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi --prefix=/opt/cs2007q3 --with-pkgversion='CS 2007q3-53' --disable-nls
gcc:
CFLAGS="-O2 -march=armv6 -mcpu=arm1136j-s" ./configure --build=arm-linux-gnueabi --target=arm-linux-gnueabi --host=arm-linux-gnueabi --prefix=/opt/cs2007q3 --with-pkgversion='CS 2007q3-53' --disable-nls --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-shared --disable-decimal-float --disable-bootstrap
- Need to use MOVW/MOVL instead of const pool crap