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/. Maybe I just didn't meet

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

2021-11-23 Thread Jonas Maebe via fpc-devel
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/. Maybe I just didn't meet one yet. However, GCC, being most close to FPC

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 writes: > . > . >> The compiler will still read only 2

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

2021-11-23 Thread Tomas Hajny via fpc-devel
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 writes: . . The compiler will still read only 2 configuration files at most, the default for given instance of

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 FPC provided by corresponding Linux >>

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

2021-11-23 Thread Tomas Hajny via fpc-devel
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 FPC provided by corresponding Linux distribution, and is out of control of a person that installs

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 do no harm in my case), 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 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 belongs to installed

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

2021-11-22 Thread Jonas Maebe via fpc-devel
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 do no harm in my case), that is only expected for the file that belongs to

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

2021-11-22 Thread Jonas Maebe via fpc-devel
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 belongs to installed native compiler, there is unconditional

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/fpc/3.2.0/ppcrossarm -O3 >>> -CX

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- -MDelphiUnicode -Sg -Sc >>

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

2021-11-14 Thread Jonas Maebe via fpc-devel
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- -MDelphiUnicode -Sg -Sc -XS -Tlinux -dCPU_ARM -Parm -CaEABIHF

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 at the linking stage of my programs,

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

2021-11-12 Thread Jonas Maebe via fpc-devel
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 at the linking stage of my programs, in the form: /opt/[...]/arm-linux-gnueabihf-ld:

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

2021-11-12 Thread Pierre Muller via fpc-devel
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 at the linking stage of my programs, in the form: /opt/[...]/arm-linux-gnueabihf-ld: warning: library search path "/usr/lib/eject/" is

[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: