Re: [fpc-pascal] Linking failed on RaspberryPi

2015-09-18 Thread Peter
On 16/09/15 02:28, Xiangrong Fang wrote: > Hi Peter, > > xrfang@pi ~ $ ls /usr/lib/**/crti.o > /usr/lib/arm-linux-gnueabihf/crti.o > > Thanks! Then you could try compiling your program with the switch -Fl /usr/lib/arm-linux-gnueabihf {Note its a lower case l not an upper case I (as per your gre

[fpc-pascal] dereferenced pointer as open array argument

2015-09-18 Thread Seth Grover
Imagine I have this function: procedure ArrayTest(const data : array of char); begin ... end; and in another routine I have a pchar variable. If I slice the array byte doing this: ArrayTest(myPChar[0..99]); then inside ArrayTest it will appear that data is 100 characters, which is exactly wha