[fpc-pascal] Array of Char

2005-08-17 Thread Carsten Bager
We are moving from another Pascal compiler where this is allowed. -- Type txt_typ=packed array[0..1] of char; Const txt1:txt_typ=('12'); -- Is there a way around this without having to write txt1:txt_typ=('1','2'); Another thin

Re: [fpc-pascal] Linking Pascal code to C/C++ static librariesunder Windows

2005-08-17 Thread Tomas Hajny
Lowell C. Savage napsal(a): > Marco, replying to me, wrote in part: >> > The Problem: >> > >> > The problem is that I can't seem to figure out how to get FPC to link >> to >> > static libraries. FPC's linker won't look for the "Wrapper.lib". It >> > either wants "Wrapper.dll" or "Wrapper.lib.dll"

Re: [fpc-pascal] Linking Pascal code to C/C++ static libraries under Windows

2005-08-17 Thread Lowell C. Savage
Marco, replying to me, wrote in part: > The Problem: > > The problem is that I can't seem to figure out how to get FPC to link to > static libraries. FPC's linker won't look for the "Wrapper.lib". It > either wants "Wrapper.dll" or "Wrapper.lib.dll". I can compile wrapper.c > to an object modu

Re: [fpc-pascal] Pascal-Compiler under Linux

2005-08-17 Thread Marco van de Voort
> > I try to write a little article about Pascal-programming under Linux. As > I now, Kylix, FPC and the GNU Pascal Compiler can be used to develope > Pascal-applications under Linux. Are there any more working > Pascal-Compiler for Linux? Afaik no maintained ones. Virtual Pascal (which stopp

[fpc-pascal] Pascal-Compiler under Linux

2005-08-17 Thread Thomas Zastrow
Hello, I try to write a little article about Pascal-programming under Linux. As I now, Kylix, FPC and the GNU Pascal Compiler can be used to develope Pascal-applications under Linux. Are there any more working Pascal-Compiler for Linux? Thanx, Tom -- - http://www.thoma

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-17 Thread Matt Emson
> When going to a new platform, you'll always need to cross-compile. > But this is the same for any C compiler. And, as Cygwin is simply another target under Windows, the Windows compiler is perfectly capable of "cross" compiling for Cygwin. In this case, "cross" compiling is streatching the term

Re: [fpc-pascal] Freepascal 2.0 for cygwin

2005-08-17 Thread Michael Van Canneyt
On Tue, 16 Aug 2005, L505 wrote: By the way, how would one compile Pascal code without a Pascal compiler? No magic script file will avoid the need for fpc. I asked this question on C2 wiki once.. I guess you could start by hardcoding a binary program from scratch in a text editor with yo