mirror of
https://github.com/pret/agbcc.git
synced 2026-04-24 23:10:04 -05:00
build fixes for Linux
This commit is contained in:
parent
939de61157
commit
a761374c43
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
*.exe
|
||||
*.o
|
||||
*.a
|
||||
|
|
|
|||
0
install.sh
Normal file → Executable file
0
install.sh
Normal file → Executable file
|
|
@ -24,7 +24,7 @@ libgcc1.a: lib1thumb.asm
|
|||
do \
|
||||
echo $${name}; \
|
||||
$(CPP) -undef -nostdinc -DL$${name} -x assembler-with-cpp -o $${name}.s lib1thumb.asm; \
|
||||
echo -e ".text\n\t.align\t2, 0\n" >> $${name}.s ; \
|
||||
bash -c 'echo -e ".text\n\t.align\t2, 0\n"' >> $${name}.s ; \
|
||||
$(AS) -mcpu=arm7tdmi -o $${name}.o $${name}.s; \
|
||||
rm -f $${name}.s; \
|
||||
$(AR) -rc tmplibgcc1.a $${name}.o; \
|
||||
|
|
@ -43,7 +43,7 @@ libgcc2.a: libgcc2.c longlong.h
|
|||
$(CPP) -undef -I ../ginclude -nostdinc -DL$${name} -o $${name}.i libgcc2.c; \
|
||||
$(CC1) -O2 $${name}.i; \
|
||||
rm -f $${name}.i; \
|
||||
echo -e ".text\n\t.align\t2, 0\n" >> $${name}.s ; \
|
||||
bash -c 'echo -e ".text\n\t.align\t2, 0\n"' >> $${name}.s ; \
|
||||
$(AS) -mcpu=arm7tdmi -o $${name}.o $${name}.s; \
|
||||
rm -f $${name}.s; \
|
||||
$(AR) -rc tmplibgcc2.a $${name}.o; \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user