Target mipsel-embedded is enabled in fixes_3_0 but it does not build.
Original Reporter info from Mantis: MiR
-
Reporter name: Michael Ring
Original Reporter info from Mantis: MiR
- Reporter name: Michael Ring
Description:
My branch was not merged completely, the units for the chips and the startup code are missing.
I have provided patches for this in the past, main open issue was that when all devices are added this adds approx. 142MB to total fpc sources size, that's the reason (I guess) that they were not yet applied by Sergei.
I can cut this size to approx. half or I can reduce the number of exposed chips.
Steps to reproduce:
make clean buildbase CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=mipsel SUBARCH=pic32mx CROSSOPT="-O- -gw2" BINUTILSPREFIX=pic32-
/usr/local/bin/gmkdir -p /Users/ring/devel/fpc-3.0/rtl/units/mipsel-embedded
make[3]: *** No rule to make target mipsel/startup.s', needed by
startup.o'. Stop.
Additional information:
Perhaps the best way to go is to expose only a few chips right now and then to extend the compiler in 3.1.1 to be more flexible with embedded targets; I can also easily provide automagically created units for a lot of different ARM platforms (CMSIS based) but this would add several hundred, if not thousand new definitions that most propably never get used. Some kind of dynamic loading based on available units that a user downloads as needed would be nice. I could try to implement this.
Which way to go, you decide ;-) I would really make sure that the exposed target actually compiles and produces working code.
Mantis conversion info:
- Mantis ID: 27302
- OS: MAC
- OS Build: 10.10
- Build: 29462
- Platform: mipsel-embedded
- Monitored by: » @KaMiSchi (Karl-Michael Schindler)