[fpc-devel] Cross-compiling and warnings from linker

2021-11-12 Thread Sergey Organov via fpc-devel
Hello, Using cross-compiler from x86-linux to arm-linux, I keep getting a lot of warnings at the linking stage of my programs, in the form: /opt/[...]/arm-linux-gnueabihf-ld: warning: library search path "/usr/lib/eject/" is unsafe for cross-compilation /opt/[...]/arm-linux-gnueabihf-ld: warn

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-13 Thread Sergey Organov via fpc-devel
Jonas Maebe via fpc-devel writes: > On 2021-11-12 10:20, Pierre Muller via fpc-devel wrote: >> Le 10/11/2021 à 21:19, Sergey Organov via fpc-devel a écrit : >>> Hello, >>> Using cross-compiler from x86-linux to arm-linux, I keep getting a lot >>> of warnings

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-14 Thread Sergey Organov via fpc-devel
Jonas Maebe via fpc-devel writes: > On 12/11/2021 20:33, Sergey Organov via fpc-devel wrote: >> Thanks, I believe I already do use -XR, here is entire compilation line: >> /opt/cross/br/arm/armv7a/6.2.0.v6/usr/lib/fpc/3.2.0/ppcrossarm -O3 >> -CX -XX -Xs -veibq -vw-n-h- -M

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-21 Thread Sergey Organov via fpc-devel
Sergey Organov via fpc-devel writes: > Jonas Maebe via fpc-devel > writes: > >> On 12/11/2021 20:33, Sergey Organov via fpc-devel wrote: >>> Thanks, I believe I already do use -XR, here is entire compilation line: >>> /opt/cross/br/arm/armv7a/6.2.0.v6/usr/lib

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-23 Thread Sergey Organov via fpc-devel
Jonas Maebe via fpc-devel writes: > On 21/11/2021 20:51, Sergey Organov via fpc-devel wrote: >> Then, in the /etc/fpc.cfg file, among a lot of statements inappropriate >> for cross-compilation (that happen to do no harm in my case), that is >> only expected for the file that

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-23 Thread Sergey Organov via fpc-devel
Jonas Maebe via fpc-devel writes: > On 22/11/2021 15:52, Jonas Maebe via fpc-devel wrote: >> On 21/11/2021 20:51, Sergey Organov via fpc-devel wrote: >>> Then, in the /etc/fpc.cfg file, among a lot of statements inappropriate >>> for cross-compilation (that happen to d

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-23 Thread Sergey Organov via fpc-devel
Tomas Hajny via fpc-devel writes: > On 2021-11-22 16:46, Sergey Organov via fpc-devel wrote: >> Jonas Maebe via fpc-devel >> writes: > . > . >> Yeah, I see. However, this file (/etc/fpc.cfg) is part of installation >> of particular version of FP

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-23 Thread Sergey Organov via fpc-devel
Tomas Hajny via fpc-devel writes: > On 2021-11-23 13:17, Sergey Organov via fpc-devel wrote: >> Tomas Hajny via fpc-devel >> writes: >> >>> On 2021-11-22 16:46, Sergey Organov via fpc-devel wrote: >>>> Jonas Maebe via fpc-devel >>>> wr

Re: [fpc-devel] Cross-compiling and warnings from linker

2021-11-23 Thread Sergey Organov via fpc-devel
Jonas Maebe via fpc-devel writes: > On 23/11/2021 17:17, Sergey Organov via fpc-devel wrote: >> Because it was not expected. I definitely can't point to any other user >> tool that, being installed in/opt/cross/bla-bla-bla/, would read >> configuration file from/etc/