[fpc-pascal] OT: Re: http://www.freepascal.org/future.var

2013-06-05 Thread Reinier Olislagers
On 6-6-2013 7:52, Florian Klämpfl wrote: > Reinier Olislagers > schrieb: > >> On 5-6-2013 22:02, Florian Klämpfl wrote: >>> I'am opposed to an LLVM backend but if Jonas implements one I can and >>> will not influence this :) >> >> That's clear enough, thanks! > > Of course I meant I can no

[fpc-pascal] Re: is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-05 Thread Schindler Karl-Michael
> Date: Wed, 05 Jun 2013 22:33:31 +0800 > From: Dennis Poon > Subject: [fpc-pascal] is there a ready to use FPC Cross compiler > x86-Linux ->MIPS-linux? > To: FPC-Pascal users discussions > Message-ID: <51af4c3b.8050...@avidsoft.com.hk> > Content-Type: text/plain; charset=UTF-8; format=

Re: [fpc-pascal] http://www.freepascal.org/future.var

2013-06-05 Thread Florian Klämpfl
Reinier Olislagers schrieb: >On 5-6-2013 22:02, Florian Klämpfl wrote: >> Am 05.06.2013 07:37, schrieb Reinier Olislagers: >>> That's understandable - so to clarify: you're not opposed to an LLVM >>> backend, you're just not going to write one yourself, right? >> >> I'am opposed to an LLVM bac

Re: [fpc-pascal] Re: Some general questions - I've been away from fpc for a while

2013-06-05 Thread Peter Brooks
Thank you both very much for those helpful suggestions! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] http://www.freepascal.org/future.var

2013-06-05 Thread Reinier Olislagers
On 5-6-2013 22:02, Florian Klämpfl wrote: > Am 05.06.2013 07:37, schrieb Reinier Olislagers: >> That's understandable - so to clarify: you're not opposed to an LLVM >> backend, you're just not going to write one yourself, right? > > I'am opposed to an LLVM backend but if Jonas implements one I can

Re: [fpc-pascal] Can someone please explain the linker to me?

2013-06-05 Thread Anthony Walter
Ah, so compiling/linking would normally need the libxxx-dev development files. I added libssl-dev and libxml2-dev get commands to my Linux install script. I am trying to avoid situations where compiling projects requires users to set paths or copy files/create sym links manually. __

[fpc-pascal] Re: Some general questions - I've been away from fpc for a while

2013-06-05 Thread leledumbo
> Are there any good examples of threads working well with fpc? The wiki article should get you started: http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial And I have one working application using it: https://code.google.com/p/express-gui/ > How well is JSON integrated with fpc

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-05 Thread Mark Morgan Lloyd
Dennis Poon wrote: or x86-Windows -> MIPS-linux cross compiler or x86-MacOS->MIPS-linux cross compiler? any one of the above will be big help to me. I searched the net and the http://wiki.freepascal.org/MIPS_port document seems to be at least Feb 2012 old. I wonder if there exists a more upd

Re: [fpc-pascal] Stack alignmennt in call from C++ to FPC

2013-06-05 Thread Jonas Maebe
On 05 Jun 2013, at 15:04, Josue Andrade Gomes wrote: > Some references (eg (2)) claim that MSVC aligns the stack at 4-byte > boundaries while GCC aligns > at 16-byte boundaries. I have found no confirmation on those claims. Stack alignment is not a compiler property, but a platform property. The

Re: [fpc-pascal] Can someone please explain the linker to me?

2013-06-05 Thread Jonas Maebe
On 05 Jun 2013, at 21:58, Anthony Walter wrote: > I am linking to openssl which I assume is already provided on most if not > all distros. On 12.04 32 bit I was using "external 'libssl.so'" at the end > of all my function imports which worked fine. > > On 13.04 this broke and I found there was n

Re: [fpc-pascal] Can someone please explain the linker to me?

2013-06-05 Thread Ewald
Once upon a time, Anthony Walter said: > On 13.04 this broke and I found there was no libssl.so in /usr/lib but > there was a libssl.so.1.0.0 in /lib/x86_64-linux-gnu/libssl.so.1.0.0. > I then created a symbolic link to that shared object in my /usr/lib > folder named libssl.so and everything worke

Re: [fpc-pascal] http://www.freepascal.org/future.var

2013-06-05 Thread Florian Klämpfl
Am 05.06.2013 07:37, schrieb Reinier Olislagers: >> Actually, I meant/said I'am not interested in working on one. For me the >> backend work is the interesting work, everything else is just boring >> duty :) > > > That's understandable - so to clarify: you're not opposed to an LLVM > backend, yo

[fpc-pascal] Can someone please explain the linker to me?

2013-06-05 Thread Anthony Walter
I am having a lot of problems due to me not understanding why the linker acts the way it does and would appreciate it if someone could explain to me why or how some of the my problem are occurring. I'll provide some examples. Example on Linux I am linking to openssl which I assume is already prov

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-05 Thread Sven Barth
On 05.06.2013 16:33, Dennis Poon wrote: or x86-Windows -> MIPS-linux cross compiler or x86-MacOS->MIPS-linux cross compiler? any one of the above will be big help to me. I searched the net and the http://wiki.freepascal.org/MIPS_port document seems to be at least Feb 2012 old. I wonder if the

Re: [fpc-pascal] Some general questions - I've been away from fpc for a while

2013-06-05 Thread Sven Barth
On 05.06.2013 12:59, Peter Brooks wrote: How well is JSON integrated with fpc - I see that there is a package, and it supports some reading and writing, but, can you import instantiate a new object from a JSON schema? There is a unit fpJsonRTTI which allows you to read and write classes which

[fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux -> MIPS-linux?

2013-06-05 Thread Dennis Poon
or x86-Windows -> MIPS-linux cross compiler or x86-MacOS->MIPS-linux cross compiler? any one of the above will be big help to me. I searched the net and the http://wiki.freepascal.org/MIPS_port document seems to be at least Feb 2012 old. I wonder if there exists a more updated document or cro

[fpc-pascal] Some general questions - I've been away from fpc for a while

2013-06-05 Thread Peter Brooks
I've been away from fpc for a while, but I'm thinking of using it because the simulation project that I'm working on looks as if it is well suited to it. I've looked at python, but the threading doesn't work. I've looked at Ada, which would be an excellent solution, but I don't really need it to be

[fpc-pascal] Stack alignmennt in call from C++ to FPC

2013-06-05 Thread Josue Andrade Gomes
Stack alignmennt in call from C++ to FPC Hi, I have recently ported a Delphi application to Lazarus/FPC (Win32/x86). This application makes use of a DLL implemented in MS Visual C++ 2010. The calls from FPC code to C++ code work fine. However this DLL also has a callback system for notifications

Re: [fpc-pascal] Re: http://www.freepascal.org/future.var

2013-06-05 Thread Sven Barth
Am 05.06.2013 10:01, schrieb Sven Barth: Am 05.06.2013 09:47, schrieb Michael Schnell: On 06/05/2013 09:29 AM, Reinier Olislagers wrote: Jonas working on an LLVM backend - great (he's surely quite knowledgeable especially after the Java work) Does LLVM (e.g for a C frontend) provide code

Re: [fpc-pascal] Re: http://www.freepascal.org/future.var

2013-06-05 Thread Sven Barth
Am 05.06.2013 09:47, schrieb Michael Schnell: On 06/05/2013 09:29 AM, Reinier Olislagers wrote: Jonas working on an LLVM backend - great (he's surely quite knowledgeable especially after the Java work) Does LLVM (e.g for a C frontend) provide code generation to Java Byte code out of the b

Re: [fpc-pascal] Re: http://www.freepascal.org/future.var

2013-06-05 Thread Michael Van Canneyt
On Wed, 5 Jun 2013, Reinier Olislagers wrote: On 5-6-2013 9:19, Michael Van Canneyt wrote: On Wed, 5 Jun 2013, Reinier Olislagers wrote: On 4-6-2013 20:05, Florian Klaempfl wrote: Am 29.05.2013 06:25, schrieb Reinier Olislagers: On 28-5-2013 19:16, Sven Barth wrote: On 28.05.2013 17:41

Re: [fpc-pascal] Re: http://www.freepascal.org/future.var

2013-06-05 Thread Michael Schnell
On 06/05/2013 09:29 AM, Reinier Olislagers wrote: Jonas working on an LLVM backend - great (he's surely quite knowledgeable especially after the Java work) Does LLVM (e.g for a C frontend) provide code generation to Java Byte code out of the box ? Or are these two backends completely diffe

[fpc-pascal] Re: http://www.freepascal.org/future.var

2013-06-05 Thread Reinier Olislagers
On 5-6-2013 9:19, Michael Van Canneyt wrote: > > > On Wed, 5 Jun 2013, Reinier Olislagers wrote: > >> On 4-6-2013 20:05, Florian Klaempfl wrote: >>> Am 29.05.2013 06:25, schrieb Reinier Olislagers: On 28-5-2013 19:16, Sven Barth wrote: > On 28.05.2013 17:41, Reinier Olislagers wrote: >>

Re: [fpc-pascal] http://www.freepascal.org/future.var

2013-06-05 Thread Michael Van Canneyt
On Wed, 5 Jun 2013, Reinier Olislagers wrote: On 4-6-2013 20:05, Florian Klaempfl wrote: Am 29.05.2013 06:25, schrieb Reinier Olislagers: On 28-5-2013 19:16, Sven Barth wrote: On 28.05.2013 17:41, Reinier Olislagers wrote: Going by the discussions on this mailing list I'm having trouble be

[fpc-pascal] Re: Placing binary data (resources) in object files?

2013-06-05 Thread Reinier Olislagers
On 4-6-2013 20:20, Anthony Walter wrote: > I came with a nice solution to all this and thought I'd share... > > I wrote a tool named makeres. In Lazarus edit the default project > configuration adding Compilation | Execute Before | makeres $(CompPath). > Then when ever you build/run a project the