Re: [fpc-pascal] Graphing library

2020-11-18 Thread Graeme Geldenhuys via fpc-pascal
On 15/11/2020 8:33 am, Darius Blaszyk via fpc-pascal wrote: > I am looking for a simple to use non-visual graphing library to produce x-y > plots in a raster file format (similar to how pyplot works). You could also use the fppdf code included with FPC and generate PDFs of any size (you don't ha

Re: [fpc-pascal] link.res search dirs when cross compiling [solved]

2020-11-18 Thread Benito van der Zander via fpc-pascal
Some are hardcoded, and fpc.cfg might contain -Fl lines with paths too from parsing ld.so.conf on install Well, I did not put them in ~/.fpc.cfg In /etc/fpc.cfg there is -Fl/usr/lib/gcc/x86_64-linux-gnu/10 -Fl/usr/lib/x86_64-linux-gnu/fpc/$fpcversion/lib/$FPCTARGET -Fl/usr/lib/$fpctarget-* Th

Re: [fpc-pascal] link.res search dirs when cross compiling

2020-11-18 Thread Benito van der Zander via fpc-pascal
How are you specifying your cross-compilation sysroot? Make sure you use the -XR parameter for that, I use -Fl in ~/.fpc.cfg... When I use -XR nothing happens. The link.res is the same, except -Fl prepends the path to link.res and -XR just ignores it. (same for -Xr) Benito __

Re: [fpc-pascal] link.res search dirs when cross compiling

2020-11-18 Thread Marco van de Voort via fpc-pascal
Op 2020-11-18 om 19:21 schreef Benito van der Zander via fpc-pascal: where do the SEARCH_DIRs in link.res come from? Some are hardcoded, and fpc.cfg might contain -Fl lines with paths too from parsing ld.so.conf on install ___ fpc-pascal maillis

Re: [fpc-pascal] link.res search dirs when cross compiling

2020-11-18 Thread Jonas Maebe via fpc-pascal
On 18/11/2020 19:21, Benito van der Zander via fpc-pascal wrote: > where do the SEARCH_DIRs in link.res come from? > > My build has started failing, after trying it on a new computer with > "/home/benito/bin/arm-linux-androideabi-ld.bfd:android/libs/armeabi/link42815.res:17: > ignoring invalid cha

[fpc-pascal] link.res search dirs when cross compiling

2020-11-18 Thread Benito van der Zander via fpc-pascal
Hi, where do the SEARCH_DIRs in link.res come from? My build has started failing, after trying it on a new computer with "/home/benito/bin/arm-linux-androideabi-ld.bfd:android/libs/armeabi/link42815.res:17: ignoring invalid character `'' in expression" link.res starts with: SEARCH_DIR(/hom