[fpc-devel] about freepascal for mips

2012-05-25 Thread Fuxin Zhang
Hello everybody, I am Fuxin Zhang from lemote, now we are working on mips support of fpc. Hope you guys can help us to accelerate the process, a lots of users are waiting for this(see at the end of copied mail between me and Florian if interested). Lemote can donate developer machines to who

Re: [fpc-devel] WinCE support degraded?

2012-05-25 Thread Thaddy
AFAIK! and tested today, and only for kolce and fpc 2.5.1 wince works. Anything newer doesn't. (No wince above 6.5) I have no clue if it is the compiler or the libraries yet. smime.p7s Description: S/MIME Cryptographic Signature ___ fpc-devel

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Jonas Maebe
Fuxin Zhang wrote on Fri, 25 May 2012: And my progress and problems: I've got the source from subversion and tried to build it in ubuntu 11.10 x86-64 machine. With the following patch and commands, I can get a partly working ppcrossmipsel(it can at least build a helloworld and runnable):

Re: [fpc-devel] WinCE support degraded?

2012-05-25 Thread Sergei Gorelkin
25.05.2012 15:53, Thaddy пишет: AFAIK! and tested today, and only for kolce and fpc 2.5.1 wince works. Anything newer doesn't. (No wince above 6.5) I have no clue if it is the compiler or the libraries yet. It is RTL, cpstrnew code imports GetConsoleCP and GetConsoleOutputCP functions which

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Mark Morgan Lloyd
Fuxin Zhang wrote: Hello everybody, I am Fuxin Zhang from lemote, now we are working on mips support of fpc. Hope you guys can help us to accelerate the process, a lots of users are waiting for this(see at the end of copied mail between me and Florian if interested). Lemote can donate

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Fuxin Zhang
[snip] This is to fix various file not found errors. I am not sure whether it is 'right' fix. No, definitely it's definitely not right. It's strange that you need those changes, since the Linux RTL Makefile is used daily. Did you need those changes even to compile it for i386? No, It is

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Fuxin Zhang
There is mips instruction call 'B', only branches like bne/beq. Sorry I meant to say There is no mips instruction call 'B':( Yes, PIC requires cpu-specific support. It shouldn't be necessary to get an initial port up and running though. Jonas

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Jeppe Græsdal Johansen
Den 25-05-2012 13:54, Jonas Maebe skrev: Fuxin Zhang wrote on Fri, 25 May 2012: And my progress and problems: I've got the source from subversion and tried to build it in ubuntu 11.10 x86-64 machine. With the following patch and commands, I can get a partly working ppcrossmipsel(it can at

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Mark Morgan Lloyd
Jeppe Græsdal Johansen wrote: Does anyone know if there's an easy way to set up an emulator for testing? Been fighting with qemu for the last half hour without results. http://wiki.lazarus.freepascal.org/Qemu_and_other_emulators An important point is that in most cases, whoever rolls a

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Nikolai Zhubr
Hi, 25.05.2012 23:04, Jeppe Græsdal Johansen: [...] When I tried to build from SVN trunk there would be an endless steam of internalerrors related to fpu registers, no matter if compiled with MIPS FPU or softfloat. I managed to remove the errors with the following patch, such that everything

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Florian Klämpfl
Am 25.05.2012 21:04, schrieb Jeppe Græsdal Johansen: Den 25-05-2012 13:54, Jonas Maebe skrev: Fuxin Zhang wrote on Fri, 25 May 2012: And my progress and problems: I've got the source from subversion and tried to build it in ubuntu 11.10 x86-64 machine. With the following patch and

Re: [fpc-devel] about freepascal for mips

2012-05-25 Thread Fuxin Zhang
Jonas I wonder how you people managed to build anything at all. When I tried to build from SVN trunk there would be an endless steam of internalerrors related to fpu registers, no matter if compiled with MIPS FPU or softfloat. Which mips toolchain are you using? Here I don't meet any such