Is that possible FPC plan to support mips64el-linux? lazarus / 62-General ---------------------------------------------------------------------- cai · 2020-07-02 07:23 LT ---------------------------------------------------------------------- cai · 2020-07-02 07:30 why&HOW FPC support mips64el-android? how can I do it for mips64el- linux in the same way? ---------------------------------------------------------------------- Thaddy · 2020-07-02 07:37 Can you mention an explicit device? ---------------------------------------------------------------------- PascalDragon · 2020-07-02 08:01 FPC currently does not support 64-bit MIPS. There are first steps in that direction, but nothing final. If you want MIPS you need to use 32-bit MIPS and there both Linux and Android are supported. Please note though that MIPS support has been removed from the Android NDK since around June 2018. ---------------------------------------------------------------------- cai · 2020-07-02 08:40 Quote from: Thaddy on July 02, 2020, 09:37:00 amCan you mention an explicit device? target OS: UOS, a linux base on 'deepin-OS', and 'deepin-OS' is based on 'debian', so I DEV with 'debian-mips64el OS' CPU: loongson, arch: mips64el device: http://www.loongson.cn/business/general2/zhengji/zhuomiandiann ao/201906/786.html ---------------------------------------------------------------------- cai · 2020-07-02 08:52 Quote from: PascalDragon on July 02, 2020, 10:01:58 amFPC currently does not support 64-bit MIPS. There are first steps in that direction, but nothing final. If you want MIPS you need to use 32-bit MIPS and there both Linux and Android are supported. Please note though that MIPS support has been removed from the Android NDK since around June 2018. so sad%uFF01 because of USA-CHINA trade WAR, so many software & hardware are forbidden(can not buy), we are changing to use other arch-cpu&platform&software which we can build, mips64el is the target, I don't want to use C-Language, I love Pascal. so, if I want to port MIPS64EL, HOW CAN I achieve to? are there some documents or sources to help me%uFF1F ---------------------------------------------------------------------- MarkMLl · 2020-07-02 09:08 Quote from: cai on July 02, 2020, 10:40:34 amtarget OS: UOS, a linux base on 'deepin-OS', and 'deepin-OS' is based on 'debian', so I DEV with 'debian-mips64el OS' CPU: loongson, arch: mips64el device: http://www.loongson.cn/business/general2/zhengji/zhuomiandiann ao/201906/786.html Two questions: i) If the target is Debian, what is the situation regarding MIPS multiarch? ii) Do any of the core developers have this hardware? MarkMLl ---------------------------------------------------------------------- cai · 2020-07-02 09:23 Quote from: MarkMLl on July 02, 2020, 11:08:59 amQuote from: cai on July 02, 2020, 10:40:34 amtarget OS: UOS, a linux base on 'deepin-OS', and 'deepin-OS' is based on 'debian', so I DEV with 'debian-mips64el OS' CPU: loongson, arch: mips64el device: http://www.loongson.cn/business/general2/zhengji/zhuomiandiann ao/201906/786.html Two questions: i) If the target is Debian, what is the situation regarding MIPS multiarch? ii) Do any of the core developers have this hardware? MarkMLl 1) the loongsun company& CHINA-GOV only offer 64bit UOS, we can not ask them to support 32bit,  most of developers(C, C++, JAVA, C#) can use  it, but PASCAL developers are embarrassed 2) YES, now we have this hardware, we can develop and run with GCC, but our app is coded with PASCAL, it is a huge work to re-code with C ( if there is nothing we can do but use C) ---------------------------------------------------------------------- MarkMLl · 2020-07-02 09:35 Quote from: cai on July 02, 2020, 11:23:17 am1) the loongsun company& CHINA-GOV only offer 64bit UOS, we can not ask them to support 32bit,  most of developers(C, C++, JAVA, C#) can use  it, but PASCAL developers are embarrassed I didn't say anything about a 32-bit version of the OS. I specifically mentioned Debian Multiarch, which is a combination of packages... if you spent even a few moments with a search engine you'd find https://wiki.debian.org/Multiarch/HOWTO Quote2) YES, now we have this hardware, we can develop and run with GCC, but our app is coded with PASCAL, it is a huge work to re-code with C ( if there is nothing we can do but use C) Fine, so you've got the hardware, but what about the FPC core developers? The last time this happened- which was about this time of the year and somebody was screaming for FPC MIPS support to be ready for the start of the next school term- my understanding is that some of the FPC developers were promised hardware which never arrived. MarkMLl ---------------------------------------------------------------------- PascalDragon · 2020-07-02 10:16 Quote from: cai on July 02, 2020, 10:52:57 amso, if I want to port MIPS64EL, HOW CAN I achieve to? are there some documents or sources to help me%uFF1F You'll have to work on the code generator. Florian has recently done a very small step towards MIPS64el support, but the majority of the code generator still needs to be adjusted/extended. (Though I don't know what Florian might have done privately in the meantime) ---------------------------------------------------------------------- cai · 2020-07-03 03:56 Quote from: MarkMLl on July 02, 2020, 11:35:07 amI didn't say anything about a 32-bit version of the OS. I specifically mentioned Debian Multiarch, which is a combination of packages... if you spent even a few moments with a search engine you'd find https://wiki.debian.org/Multiarch/HOWTO thank you! that is what I need, I will read and learn it. sorry I misunderstood your mean last night, thank you again! QuoteFine, so you've got the hardware, but what about the FPC core developers? The last time this happened- which was about this time of the year and somebody was screaming for FPC MIPS support to be ready for the start of the next school term- my understanding is that some of the FPC developers were promised hardware which never arrived. MarkMLl oh! maybe I misunderstood your mean, again!  I thought the FPC core developers was mean the developers in our team sorry my English is weak, sometimes I need to translate to Chinese, maybe the key in your words has changed, so I must miss some thing in your words. ---------------------------------------------------------------------- cai · 2020-07-03 04:21 Quote from: PascalDragon on July 02, 2020, 12:16:18 pmQuote from: cai on July 02, 2020, 10:52:57 amso, if I want to port MIPS64EL, HOW CAN I achieve to? are there some documents or sources to help me%uFF1F You'll have to work on the code generator. Florian has recently done a very small step towards MIPS64el support, but the majority of the code generator still needs to be adjusted/extended. (Though I don't know what Florian might have done privately in the meantime) thank you! this communication is very helpful for me, maybe I can do some test with the source, FPC is a great work. I almost give up when I saw the wiki-website said only support mispel(experience not tested), until I enroll this account and post up this topic. in our country, pascal-developers are declining every year, no one teach pascal in college,  we stick with it cause we have passion! I think I will code until the day ---------------------------------------------------------------------- cai · 2020-07-03 08:24 Quote from: MarkMLl on July 02, 2020, 11:35:07 amQuote from: cai on July 02, 2020, 11:23:17 am1) the loongsun company& CHINA-GOV only offer 64bit UOS, we can not ask them to support 32bit,  most of developers(C, C++, JAVA, C#) can use  it, but PASCAL developers are embarrassed I didn't say anything about a 32-bit version of the OS. I specifically mentioned Debian Multiarch, which is a combination of packages... if you spent even a few moments with a search engine you'd find https://wiki.debian.org/Multiarch/HOWTO Quote2) YES, now we have this hardware, we can develop and run with GCC, but our app is coded with PASCAL, it is a huge work to re-code with C ( if there is nothing we can do but use C) Fine, so you've got the hardware, but what about the FPC core developers? The last time this happened- which was about this time of the year and somebody was screaming for FPC MIPS support to be ready for the start of the next school term- my understanding is that some of the FPC developers were promised hardware which never arrived. MarkMLl thank you! I use Debian Multiarch, enable dpkg mipsel, add some apt debian source, install libc6-mipsel,  and download some *.so(anything 32bit app need, like libgtk), copy *.so to /usr/libo32, now mipsel-app can startup. ---------------------------------------------------------------------- feigewell · 2022-02-18 06:19 您好,现在在龙芯mips下可以使用了么?能否留个联系方式,或qq号码方便联系一下么?谢谢,我的qq:494139270 ---------------------------------------------------------------------- PierceNg · 2022-02-18 11:17 Quote from: feigewell on February 18, 2022, 07:19:50 am您好,现在在龙芯mips下可以使用了么?能否留个联系方式,或qq号码方便联系一下么?谢谢,我的qq:494139270 本论坛使用英文。如果以其他语文发布,请同时发布机器翻译的英文版。 This forum uses English. If posting in another language, please also post machine translation into English. 有关龙芯mips,我个人是不清楚。还有,我想这论坛不会有太多QQ用户。 I can‘t answer your question regarding Loongson MIPS. Also, I don't think this forum will have too many QQ users. ---------------------------------------------------------------------- Handoko · 2022-02-18 12:41 Loongson is compatible with MIPS64, but not the early implementations due to some legal issues. I didn't try but if someone can make FPC run on MIPS64 it should be able to run on newer Loonson chips too. Sources: https://stackoverflow.com/questions/10802908/loongson-cpu-and-mips- assembly https://en.wikipedia.org/wiki/Loongson#Instruction_set_architectures ---------------------------------------------------------------------- PascalDragon · 2022-02-18 14:30 There was some recent activity on main regarding MIPS64. I don't know the current state, but you might want to give it a try on Linux...