mirror of
https://github.com/pret/agbcc.git
synced 2026-03-21 17:44:20 -05:00
Merge fbd5d88e46 into d59cfb5ac1
This commit is contained in:
commit
902eeabbac
8
build.sh
8
build.sh
|
|
@ -15,11 +15,13 @@ make -C gcc clean
|
|||
make -C gcc old $CCOPT $CXXOPT
|
||||
mv gcc/old_agbcc .
|
||||
make -C gcc clean
|
||||
make -C gcc $CCOPT $CXXOPT
|
||||
make -C gcc normal $CCOPT $CXXOPT
|
||||
mv gcc/agbcc .
|
||||
# not sure if the ARM compiler is the old one or the new one (-DOLD_COMPILER)
|
||||
rm -f gcc_arm/config.status gcc_arm/config.cache
|
||||
cd gcc_arm && ./configure --target=arm-elf --host=i386-linux-gnu && make cc1 && cd ..
|
||||
# || true is needed to keep going if the distclean fails, such as when no configure has been done before
|
||||
make -C gcc_arm distclean || true
|
||||
cd gcc_arm && ./configure --target=arm-elf --host=i386-linux-gnu && cd ..
|
||||
make -C gcc_arm cc1
|
||||
mv gcc_arm/cc1 agbcc_arm
|
||||
make -C libgcc clean
|
||||
make -C libgcc $CCOPT $CXXOPT
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ $(OBJS): %.o: %.c $(DEPDIR)/%.d | $(GENERATED)
|
|||
$(COMPILE) $<
|
||||
$(POSTCOMPILE)
|
||||
|
||||
$(RTL_OBJS) $(RTLANAL_OBJS) $(PRINT_OBJS): %.o: %.c $(DEPDIR)/%.d
|
||||
$(RTL_OBJS) $(RTLANAL_OBJS) $(PRINT_OBJS): %.o: %.c $(DEPDIR)/%.d genrtl.h
|
||||
$(COMPILE) $<
|
||||
$(POSTCOMPILE)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user