Re: [fpc-devel] debugging probelm
Hi! In Lazarus.when I debug a file. That is , the debugger stops and I look at the call stack, I cannot see filename and linenumber In other words, the debugging is made harder. I heard it was related to the freepascal compiler was not able to cooperate with gdb as the generated stack frame format changed... What is the timeframe in which this problem may be fixed? What debugger do you use that does not have this problem? You forget to mention all important information like which os and cpu, commandline options and compiler version you are using. If you want timelines for fixes on the debugger gdb itself ask the binutils mailinglists. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] FPC 2.0.0 vs FPC 2.0.2 (div by zero)
On 16 mrt 2006, at 03:22, Jose Manuel wrote: Math.SetExceptionMask([exDenormalized,exInvalidOp,exOverflow,e xPrecision,exUnderflow,exZeroDivide]); I do agree it's much polite and cross platform, but doesn't seem to work in Windows XP Pro (only tested in WinXP Pro SP2) with GL 3.2 and FPC 2.0.2 (I've looked everywhere down my PC for a version number, but not found :-), I guess it oughtta be 4.1 but I can't stand for it). Anyway using Set8087CW (which is indeed CPU dependant) does work under my equipment, SetExceptionMask doesn't. SetExceptionMask calls Set8087CW on x86, so if it doesn't work it's because you either use it wrongly, or because it translates its parameters wrongly to the input Set8087CW expects. Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] debugging probelm
Peter Vreman wrote: Hi! In Lazarus.when I debug a file. That is , the debugger stops and I look at the call stack, I cannot see filename and linenumber In other words, the debugging is made harder. I heard it was related to the freepascal compiler was not able to cooperate with gdb as the generated stack frame format changed... What is the timeframe in which this problem may be fixed? What debugger do you use that does not have this problem? You forget to mention all important information like which os and cpu, commandline options and compiler version you are using. If you want timelines for fixes on the debugger gdb itself ask the binutils mailinglists. I wonder if you know about this as this issue you could have met or can be interested in. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel Ok. WinXp. Free Pascal Compiler version 2.1.1 [2006/03/08] for i386. I use the compiler in Lazarus. The compiler output: TCompiler.Compile WorkingDir=C:\lazarus\dynhasharray\ CompilerFilename=C:\laz arus\pp\bin\i386-win32\ppc386.exe CompilerParams= -S2cgi -g -gl -vewnhi -l -Fu C:\lazarus\lcl\units\i386-win32\ -Fu. -oC:\lazarus\dynhasharray\dynhasharraytest .exe dynhasharraytest.lpr [TCompiler.Compile] CmdLine=C:\lazarus\pp\bin\i386-win32\ppc386.exe -S2cgi -g -gl -vewnhi -l -FuC:\lazarus\lcl\units\i386-win32\ -Fu. -oC:\lazarus\dynhasharra y\dynhasharraytest.exe dynhasharraytest.lpr Márton Papp ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
[fpc-devel] FPC and OpenMP support.
Hello to all, are there any parallel code developers in the list? I will have to work on a mixed mode parallel project using MPI and OpenMP. There are some bindings in pascal for the MPI library which is ok. Does fpc support OpenMP compiler directives? AFAIK no. Is there a known pascal compiler that supports OpenMP? Integrating such support canbe a great step towards making FPC an industrial class compiler. This will require a lot of work, that is not in the roadmap for now. What do you think? here are some related links : Message Passing Interface http://www.open-mpi.org/ http://www.lam-mpi.org/ http://www.mpi-forum.org/ http://www-unix.mcs.anl.gov/mpi/ OpenMP : http://www.openmp.org TIA. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] FPC and OpenMP support.
Op Thu, 16 Mar 2006, schreef Alexander Todorov: Hello to all, are there any parallel code developers in the list? Yes. I will have to work on a mixed mode parallel project using MPI and OpenMP. There are some bindings in pascal for the MPI library which is ok. I have a proof of concept conversion of the MPICH headers. However, it is not so easy, since libmpich.a can be located anywhere on the system; there is no Pascal equivalent of mpicc. I haven't decided yet what I'm going to do here. I have also looked at LAMMPI and OpenMPI, looks like they'll be a piece of cake lust like MPICH, the only caveat is that h2pas chokes at their header files. Does fpc support OpenMP compiler directives? AFAIK no. Is there a known pascal compiler that supports OpenMP? I don't plan to put effort in OpenMP support; I don't see the need for an external library to be able to do multithreaded programming. Focus here should be on 100% Pascal implementations. Also of interrest to HPC users might be the interface to FFTW I committed a while ago. For good HPC support we also would need good interfaces to BLAS LAPACK, and/or Pascal based math solutions. Integrating such support canbe a great step towards making FPC an industrial class compiler. I think so. Daniël___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
RE: [fpc-devel] FPC 2.0.0 vs FPC 2.0.2 (div by zero)
Math.SetExceptionMask([exDenormalized,exInvalidOp,exOverflow,e xPrecision,exUnderflow,exZeroDivide]); [...] stand for it). Anyway using Set8087CW (which is indeed CPU dependant) does work under my equipment, SetExceptionMask doesn't. SetExceptionMask calls Set8087CW on x86, so if it doesn't work it's because you either use it wrongly, or because it translates its parameters wrongly to the input Set8087CW expects. Maybe both :-) I just was calling SetExceptionMask([exZeroDivide]), without qualifying. OK, thanks. I'll check it, and if I find anything odd in parameter translating I will tell. Anyway, don't pay me too much attention, I gotta review it all this weekend, but AFAICR I think I was using the DOS version under Windows XP (not a proper way of doing things ;-(). Sorry for the incoveniences and the loss of time. Anyhow I'll check it up. Thanx, JMR ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel