Merge pull request #8 from pmret/build-it

Build it
This commit is contained in:
Ethan Roseman 2021-08-22 23:38:12 +09:00 committed by GitHub
commit f044691b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 3 deletions

View File

@ -40,13 +40,15 @@ jobs:
- name: Configure
shell: bash
run: |
./configure --target=mips-nintendo-nu64 --prefix=/opt/cross --disable-gprof --disable-gdb --disable-werror --host=${{ matrix.TARGET.HOST }} --build=${{ matrix.TARGET.HOST }}
./configure --target=mips-nintendo-nu64 --prefix=/opt/cross --with-gnu-as --disable-gprof --disable-gdb --disable-werror --host=${{ matrix.TARGET.HOST }} --build=${{ matrix.TARGET.HOST }}
- name: Make
continue-on-error: true
shell: bash
run: |
make CFLAGS="${{ matrix.TARGET.CFLAGS }}"
make cpp CFLAGS="${{ matrix.TARGET.CFLAGS }}"
make cc1 CFLAGS="${{ matrix.TARGET.CFLAGS }}"
make xgcc CFLAGS="${{ matrix.TARGET.CFLAGS }}"
- name: Test for file
shell: bash
@ -58,4 +60,8 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: cc1-${{ matrix.TARGET.OS }}
path: cc1
path: |
as
cpp
cc1
xgcc

View File

@ -4074,3 +4074,8 @@ while (0)
true. */
#define DONT_ACCESS_GBLS_AFTER_EPILOGUE (TARGET_ABICALLS && mips_abi != ABI_32)
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME, RELOC)\
do { \
fprintf (FILE, "\t.section %s\n", NAME); \
} while (0)

View File

@ -130,3 +130,7 @@ sdata_section () \
%(long_max_spec) \
%(subtarget_cpp_spec) "
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME, RELOC)\
do { \
fprintf (FILE, "\t.section %s\n", NAME); \
} while (0)