mirror of
https://github.com/pmret/gcc-papermario.git
synced 2024-11-09 12:22:38 +01:00
Fix documentation for compiling manually (#24)
This commit is contained in:
parent
80c3e66c48
commit
c833b5b4d3
@ -7,11 +7,11 @@ To build the 32-bit static cc1 in the [papermario](https://github.com/ethteck/pa
|
|||||||
> ```
|
> ```
|
||||||
> Configure:
|
> Configure:
|
||||||
> ```bash
|
> ```bash
|
||||||
> ./configure --target=mips-nintendo-nu64 --prefix=/opt/cross --disable-gprof --disable-gdb --disable-werror --host=i386-pc-linux --build=i386-pc-linux
|
> ./configure --target=mips-nintendo-nu64 --prefix=/opt/cross --with-gnu-as --disable-gprof --disable-gdb --disable-werror --host=i386-pc-linux --build=i386-pc-linux
|
||||||
> ```
|
> ```
|
||||||
> Make:
|
> Make:
|
||||||
> ```bash
|
> ```bash
|
||||||
> make CFLAGS="-std=gnu89 -m32 -static"
|
> make cpp cc1 xgcc cc1plus g++ CFLAGS="-std=gnu89 -m32 -static"
|
||||||
> ```
|
> ```
|
||||||
> The `make` stage may fail, but this is fine as long as the `cc1` binary is created successfully.
|
> The `make` stage may fail, but this is fine as long as the `cc1` binary is created successfully.
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ To build the 64-bit cc1 for macOS, use:
|
|||||||
> ```
|
> ```
|
||||||
> Make:
|
> Make:
|
||||||
> ```bash
|
> ```bash
|
||||||
> make CFLAGS="-std=gnu89 -Wno-return-type -Wno-error -Wno-implicit-function-declaration"
|
> make cpp cc1 xgcc cc1plus g++ CFLAGS="-std=gnu89 -Wno-return-type -Wno-error -Wno-implicit-function-declaration"
|
||||||
> ```
|
> ```
|
||||||
> The `make` stage may fail, but this is fine as long as the `cc1` binary is created successfully.
|
> The `make` stage may fail, but this is fine as long as the `cc1` binary is created successfully.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user