Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2021-11

target mipsel-embedded

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

I am trying to build a mipsel-embedded compiler.
It says here that this is possible
https://wiki.freepascal.org/TARGET_Embedded_Mipsel. I followed the steps below
git clone https://github.com/fpc/FPCSource.git
cd ./FPCSource
make clean buildbase installbase INSTALL_PREFIX=$HOME/mips/fpc-mipsel CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=mipsel SUBARCH=pic32mx BINUTILSPREFIX=pic32-

And got messages
make[3]: *** No rule to make target 'mipsel/startup.s', needed by 'startup.o'. Stop.

Indeed, the source codes do not contain the directory rtl/embedded/mipsel
And there is no sturtup.s file.
And the modules pic32mx1xxfxxxb pic32mx2xxfxxxb pic32mx1xxfxxxc pic32mx2xxfxxxc pic32mx1xxfxxxd pic32mx2xxfxxxd pic32mx7x5fxxxl pic32mx7x5fxxx referenced by makefile.fps is also not present. Although for other platforms are available.

chipKIT-cxx is installed, version 1.43 (GCC-4.8.3 binutils 2.23.51). Links in the wiki are no longer working, but
there are no earlier versions in the github.
Somehow they built it.
Help me figure it out, please.
Thanks.

Sergey ______________________________ Получить адрес @meta.ua http://webmail.meta.ua/

Reply by email

Michael Ring
to Unknown author

Startup Code and Modules for chips had a license that Florian was not happy with. So those parts are missing.

I have not built mipsel for pic for a while but if you need a working solution then I check if things compile with latest fpc and update my gitlab.

Michael

Sergey wrote 37 lines
I am trying to build a mipsel-embedded compiler. It says here that this is possible https://wiki.freepascal.org/TARGET_Embedded_Mipsel. I followed the steps below git clone https://github.com/fpc/FPCSource.git cd ./FPCSource make clean buildbase installbase INSTALL_PREFIX=$HOME/mips/fpc-mipsel CROSSINSTALL=1 OS_TARGET=embedded CPU_TARGET=mipsel SUBARCH=pic32mx BINUTILSPREFIX=pic32- And got messages make[3]: *** No rule to make target 'mipsel/startup.s', needed by 'startup.o'. Stop. Indeed, the source codes do not contain the directory rtl/embedded/mipsel And there is no sturtup.s file. And the modules pic32mx1xxfxxxb pic32mx2xxfxxxb pic32mx1xxfxxxc pic32mx2xxfxxxc pic32mx1xxfxxxd pic32mx2xxfxxxd pic32mx7x5fxxxl pic32mx7x5fxxx referenced by makefile.fps is also not present. Although for other platforms are available. chipKIT-cxx is installed, version 1.43 (GCC-4.8.3 binutils 2.23.51). Links in the wiki are no longer working, but there are no earlier versions in the github. Somehow they built it. Help me figure it out, please. Thanks. -- Sergey ______________________________ Получить адрес @meta.ua http://webmail.meta.ua/ _______________________________________________ fpc-pascal maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply by email

Florian Klämpfl
to Michael Ring
Am 29.11.2021 um 09:39 schrieb Michael Ring via fpc-pascal : Startup Code and Modules for chips had a license that Florian was not happy with. So those parts are missing.

Also the files where huge due to the I/O capabilities of those microcontrollers IIRC.

I have not built mipsel for pic for a while but if you need a working solution then I check if things compile with latest fpc and update my gitlab.

Reply by email