Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| howtos:pic32mx_tools_on_solaris [2023/11/29 15:48] admin [Stage 1 - build bootstrap gcc] | howtos:pic32mx_tools_on_solaris [2023/11/29 17:44] (current) admin [Stage 3 - deploy gcc and g++ with newlib suport] | ||
|---|---|---|---|
| Line 65: | Line 65: | ||
| * **--enable-multilib** - builds several variants of libraries (big-endian, little-endian hard-float and soft-float). Default is little-endian hard-float. | * **--enable-multilib** - builds several variants of libraries (big-endian, little-endian hard-float and soft-float). Default is little-endian hard-float. | ||
| <code> | <code> | ||
| - | $ /opt/mipsel/bin/mipsel-gcc -print-multi-lib | + | $ /opt/mipsel-10.3.0/bin/mipsel-gcc -print-multi-lib | 
| .; | .; | ||
| soft-float;@msoft-float | soft-float;@msoft-float | ||
| Line 75: | Line 75: | ||
| * newlib requires mips-cc | * newlib requires mips-cc | ||
| <code> | <code> | ||
| - | # cd /opt/mipsel/bin | + | # cd /opt/mipsel-10.3.0/bin | 
| # ln -s mipsel-gcc mipsel-cc | # ln -s mipsel-gcc mipsel-cc | ||
| </code> | </code> | ||
| * build and install | * build and install | ||
| - | <code>$ export PATH=/opt/mipsel/bin:$PATH | + | <code>$ export PATH=/opt/mipsel-10.3.0/bin:$PATH | 
| - | $ cd ~/projects/gcc-mips/build-newlib-el-4.1.0 | + | $ cd ~/projects/gcc-mips-10.3.0/build-newlib-el-4.1.0 | 
| - | $ ../newlib-4.1.0/configure --target=mipsel --prefix=/opt/mipsel | + | $ ../newlib-4.1.0/configure --target=mipsel --prefix=/opt/mipsel-10.3.0 | 
| $ make ; echo $? | $ make ; echo $? | ||
| ... | ... | ||
| Line 179: | Line 179: | ||
| ===== Stage 3 - deploy gcc and g++ with newlib suport ===== | ===== Stage 3 - deploy gcc and g++ with newlib suport ===== | ||
| <code> | <code> | ||
| - | $ cd ~/projects/gcc-mips/build-gcc-el-10.3.0 | + | $ cd ~/projects/gcc-mips-10.3.0/build-gcc-el-10.3.0 | 
| - | $ ../gcc-10.3.0/configure --target=mipsel --prefix=/opt/mipsel --with-gnu-as --with-gnu-ld --with-newlib --enable-languages=c,c++ --with-local-prefix=/opt/mipsel --with-native-system-header-dir=/opt/mipsel/include --disable-nls --disable-shared  --enable-multilib --disable-decimal-float -disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath | + | $ ../gcc-10.3.0/configure --target=mipsel --prefix=/opt/mipsel-10.3.0 --with-gnu-as --with-gnu-ld --with-newlib --enable-languages=c,c++ --with-local-prefix=/opt/mipsel --with-native-system-header-dir=/opt/mipsel/include --disable-nls --disable-shared  --enable-multilib --disable-decimal-float -disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath | 
| $ make -j 10 ; echo $? | $ make -j 10 ; echo $? | ||
| $ sudo make install | $ sudo make install | ||




