Re: [fpc-pascal] How can you convert an enum value to string?

2015-02-20 Thread mahris
I shall talk about FPC 2.6.2. First of all - there can be enumerations with predefined values. In 2.6.2, typeinfo for such enumerations does not exist. So solutions with GetEnumName are limited and cannot be used in general case. str(MyEnum,MyString) and writestr(MyString,MyEnum) give correct res

[fpc-pascal] How do you build FPC?

2015-02-20 Thread Jon Foster
I'm using i386 32bit Linux for most of my development and currently using FPC 2.6.0. I'm trying to understand how to build FPC for various scenarios: Cross-compiling FPC for another architecture. Building FPC crosscompilers and related units so I can compile for them from my Linux machine. And buil

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Mark Morgan Lloyd
Jon Foster wrote: I'm using i386 32bit Linux for most of my development and currently using FPC 2.6.0. I'm trying to understand how to build FPC for various scenarios: Cross-compiling FPC for another architecture. Building FPC crosscompilers and related units so I can compile for them from my Lin

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Marco van de Voort
In our previous episode, Jon Foster said: > Is there documentation for compiling FPC? Am I just missing it > somewhere? FPC seems incredibly flexible and I'd like to take advantage > of it on some other platforms but so far it looks like that is reserved > for a wizard elite somewhere and nobody is

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Jon Foster said: Is there documentation for compiling FPC? Am I just missing it somewhere? FPC seems incredibly flexible and I'd like to take advantage of it on some other platforms but so far it looks like that is reserved for a wizard elite so

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread leledumbo
> FPC seems incredibly flexible and I'd like to take advantage of it on some other platforms but so far it looks like that is reserved for a wizard elite somewhere and nobody is saying how to get there. Other than the buildfaq, reading the Makefile.fpc might help (assuming you already know make

Re: [fpc-pascal] How do you build FPC?

2015-02-20 Thread Jon Foster
Mark Morgan Lloyd wrote: > Jon Foster wrote: >> [...] >> There seems to be a massive lack of documentation about the FPC build >> process and many things I try get me know where. I'll do something like >> "make deb" and I get "/bin/cp: cannot stat `logs': No such file or >> directory ..." Or I do "