Re: [fpc-devel] DIFF patch for changing to table driven processor definitions for ARM

2011-08-26 Thread Felipe Monteiro de Carvalho
You can modify the wiki yourself, you just need to register. Felipe Monteiro de Carvalho -- Felipe Monteiro de Carvalho ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] DIFF patch for changing to table driven processor definitions for ARM

2011-08-26 Thread Florian Klämpfl
Am 26.08.2011 04:13, schrieb David Welch: cpuinfo.pas(156,2) Fatal: Can't open include file controllerunit.inc Fixed, I forgot to commit a file, sorry. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] DIFF patch for changing to table driven processor definitions for ARM

2011-08-26 Thread Vincent Snijders
2011/8/26 Florian Klämpfl flor...@freepascal.org: Am 26.08.2011 04:13, schrieb David Welch: cpuinfo.pas(156,2) Fatal: Can't open include file controllerunit.inc Fixed, I forgot to commit a file, sorry. ___ fpc-devel maillist  -  

Re: [fpc-devel] DIFF patch for changing to table driven processor definitions for ARM

2011-08-26 Thread John Clymer
Part of what I submitted was 2 batch files in the root directory - buildarm.bat and buildthumb2.bat - that was my attempt to provide an example with the BINUTILS equates spelled out. John From: David Welch dwe...@dwelch.com To: FPC developers' list

Re: [fpc-devel] New FPC target: JVM

2011-08-26 Thread Jonas Maebe
On 25 Aug 2011, at 23:06, Jonas Maebe wrote: So: java -jar javapp.jar -classpath android.jar -protected javapp.jar android.app. Without the extra javapp.jar, obviously: java -jar javapp.jar -classpath android.jar -protected android.app. Jonas

Re: [fpc-devel] New FPC target: JVM

2011-08-26 Thread Sven Barth
Am 26.08.2011 13:01, schrieb Jonas Maebe: On 25 Aug 2011, at 23:06, Jonas Maebe wrote: So: java -jar javapp.jar -classpath android.jar -protected javapp.jar android.app. Without the extra javapp.jar, obviously: java -jar javapp.jar -classpath android.jar -protected android.app. Ok, I

[fpc-devel] Deflating file created with TPAbbrevia

2011-08-26 Thread Leonardo M . Ramé
Hi, the attached file is a .wav file created on Windows and compressed with TPAbbrevia's DeflateStream method of AbZipPrc unit. I need to decompress it using fpc and save to a folder, to be played with mplayer. This snippet shows what I'm doing to decompress the file, but I'm getting buffer

Re: [fpc-devel] DIFF patch for changing to table driven processor definitions for ARM

2011-08-26 Thread David Welch
need to apply this patch, like the wiki thing maybe there is a place I have to sign up to be able to check in to svn, otherwise. The lpc and sam7 parts are ARM7TDMI which is an armv4t not remotely able to support the armv7 instructions. the correction also needs to be made to allow armv7m or

[fpc-devel] Code generation oddity on SPARC Linux

2011-08-26 Thread Mark Morgan Lloyd
I have a fragment of code that looks like this: VAR z, a, alpha, b, c, d, e: Int64; f: DOUBLE; BEGIN td:= td + 0.5; // astronomical to civil z:= Floor(td); f:= td - z; IF z 2299161.0 THEN a:= z ELSE BEGIN alpha:= Floor((z - 1867216.25) /

Re: [fpc-devel] DIFF patch for changing to table driven processor definitions for ARM

2011-08-26 Thread David Welch
Another diff to be considered. Index: rtl/embedded/arm/arm_bare_ram.pp === --- rtl/embedded/arm/arm_bare_ram.pp(revision 0) +++ rtl/embedded/arm/arm_bare_ram.pp(revision 0) @@ -0,0 +1,63 @@ +{ +Startup code for a simple

Re: [fpc-devel] Code generation oddity on SPARC Linux

2011-08-26 Thread Jonas Maebe
On 26 Aug 2011, at 22:42, Mark Morgan Lloyd wrote: Using 2.4.4 with -a -al -s this compiles to a .s which looks like this: .Ll34: # [439] IF z 2299161.0 THEN ld [%i6-32],%o0 ld [%i6-28],%o1 callfpc_int64_to_double nop sethi

Re: [fpc-devel] Code generation oddity on SPARC Linux

2011-08-26 Thread Mark Morgan Lloyd
Jonas Maebe wrote: The sparc only has single precision floating point registers. Double precision values are stored in two consecutive single precision registers, and hence arguments to double precision opcodes must always be even registers. The above demonstrates a bug in the register

[fpc-devel] FPC-JVM: Breaking up a cycle

2011-08-26 Thread Sven Barth
Hello together and especially Jonas! I have now ported most of the contents of the android namespace to Pascal. First I tried to put the subnamespaces into their own units, but that started to result in some nasty circles that involved parent classes and what not... now I have simply put the

Re: [fpc-devel] FPC-JVM: Breaking up a cycle

2011-08-26 Thread Jonas Maebe
On 27 Aug 2011, at 00:16, Sven Barth wrote: There is a class AVView, a class AVViewGroup and an interface AVViewManager. AVViewGroup extends AVView and implements AVViewGroup. Also it defines a nested class InnerLayoutParam. So far all is ok, but now the problematic part: AVView and

Re: [fpc-devel] FPC-JVM: Breaking up a cycle

2011-08-26 Thread Sven Barth
On 27.08.2011 00:31, Jonas Maebe wrote: On 27 Aug 2011, at 00:16, Sven Barth wrote: There is a class AVView, a class AVViewGroup and an interface AVViewManager. AVViewGroup extends AVView and implements AVViewGroup. Also it defines a nested class InnerLayoutParam. So far all is ok, but now

Re: [fpc-devel] FPC-JVM: Breaking up a cycle

2011-08-26 Thread Jonas Maebe
On 27 Aug 2011, at 00:16, Sven Barth wrote: I have now ported most of the contents of the android namespace to Pascal. First I tried to put the subnamespaces into their own units, but that started to result in some nasty circles that involved parent classes and what not... now I have

Re: [fpc-devel] DIFF patch for changing to table driven processor definitions for ARM

2011-08-26 Thread David Welch
when building for SUBARCH=cortexm3, fails with: make[3]: *** No rule to make target `thumb2_bare.ppu', needed by `fpc_units'. Stop. On 08/26/2011 05:09 PM, David Welch wrote: Another diff to be considered. Index: rtl/embedded/arm/arm_bare_ram.pp