[fpc-pascal] Linking C library

2014-01-15 Thread Darius Blaszyk
Hi, I'm trying to link a C library to my pascal app. From the messages I understand that I forgot to link in some additional library. However I cannot find which one that is. In my app I have included: {$IFDEF MSWINDOWS} {$linklib libmsvcrt} {$ELSE} {$linklib c} {$ENDIF} Is there a way

Re: [fpc-pascal] Linking C library

2014-01-15 Thread Marco van de Voort
In our previous episode, Darius Blaszyk said: I'm trying to link a C library to my pascal app. From the messages I understand that I forgot to link in some additional library. However I cannot find which one that is. In my app I have included: {$IFDEF MSWINDOWS} {$linklib libmsvcrt}

Re: [fpc-pascal] ARM Linux cross development

2014-01-15 Thread Michael Schnell
On 01/14/2014 09:37 PM, Michael Ring wrote: One day (In a far far away future) I will understand how this whole compiler magic works ;-) Same here. ;-) About a year ago, a programmer in Austria and myself tried to get Lazarus based cross development for ARM based QNAP NAS boxes running. He

Re: [fpc-pascal] ARM Linux cross development

2014-01-15 Thread Michael Schnell
On 01/15/2014 11:42 AM, Michael Schnell wrote: Code Source Sorry: Code Sourcery -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] ARM Linux cross development

2014-01-15 Thread Koenraad Lelong
op 15-01-14 11:42, Michael Schnell schreef: - We only could get fpc, gdb, and gdbserver compiled after installing the complete Code Source C cross development suite (including Eclipse). We did not find any smaller and more handy package that did work for that purpose. We did not thinks that it

Re: [fpc-pascal] ARM Linux cross development

2014-01-15 Thread Michael Schnell
On 01/15/2014 12:56 PM, Koenraad Lelong wrote: Just curious : are you sure ? When I started cross-compiling I thought also I needed a whole tool-chain. Now I'm using just binutils, comiled for my processor. But in my case I'm just working with arm-embedded, so no real OS envolved. That works

[fpc-pascal] Generic String Functions

2014-01-15 Thread Michael Schnell
DXE Strings again :-) , What is the relation between Generic Functions and (static) DXE String encoding schemes ? Can you (e.g.) do a (silly) Generic Function that takes two strings of any (but identical) encoding type, concatenates them and outputs the result in the same (static) encoding

Re: [fpc-pascal] Generic String Functions

2014-01-15 Thread Marco van de Voort
In our previous episode, Michael Schnell said: DXE Strings again :-) , What is the relation between Generic Functions and (static) DXE String encoding schemes ? Afaik none. Constraints are interfaced based, and strings are no objects. ___

Re: [fpc-pascal] ARM Linux cross development

2014-01-15 Thread Koenraad Lelong
op 15-01-14 13:31, Michael Schnell schreef: Did you try to create the PC-ARM cross gdb and ARM cross-compile the ARM gdbserver ? It might be that this in fact was why he needed the huge libraries. I did create a cross-gdb, I think. But no server. I'm using JTAG, with openocd. I use Insight