Re: [fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

2016-09-02 Thread fredvs
> I'd suggest asking on one of the freebsd mailing lists or some forum. Hum, we are very near the goal, I prefer to resolve it with fpc-family ;-) Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Linking-to-Linux-on-a-FreeBSD-syst

Re: [fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

2016-09-02 Thread fredvs
Hello Marc. And thanks to help. OK, I have investigate more and there is something that disturb me: When compiling on a FreeBSD 64 bit system using fpc-freebsd-*64*, there is that message on linking: [3.069] Searching file /usr/bin/ld... found [3.069] Using util /usr/bin/ld [3.069] Executing "/

Re: [fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

2016-09-02 Thread Marc Santhoff
On Fr, 2016-09-02 at 09:32 -0700, fredvs wrote: > Hello Marc. Hi Fred. > Thanks for the infos, good to know that it is possible to install linux > package via FreeBSD-pkg install. > Sadly I did not see any linux-ld or linux-binutils package in > https://www.freebsd.org/ports/linux.html > > So, t

Re: [fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

2016-09-02 Thread Marc Santhoff
On Fr, 2016-09-02 at 08:57 -0700, fredvs wrote: > Hello. > > The night was very long and hard... > > I have some result. > > Here how I did: > > - Copy ld-linux into /compat/linux/bin > > - Copy dependencies-linux needed by ld-linux (some needed to be in > /compat/linux/lib, other in /compat/l

Re: [fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

2016-09-02 Thread fredvs
Hello Marc. Thanks for the infos, good to know that it is possible to install linux package via FreeBSD-pkg install. Sadly I did not see any linux-ld or linux-binutils package in https://www.freebsd.org/ports/linux.html So, the manually way that i did is the only way (yes/no ?). Many thanks for

Re: [fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

2016-09-02 Thread fredvs
Hello. The night was very long and hard... I have some result. Here how I did: - Copy ld-linux into /compat/linux/bin - Copy dependencies-linux needed by ld-linux (some needed to be in /compat/linux/lib, other in /compat/linux/lib64). - When using fpc-linux to compile-link a simple fpgui-prog

Re: [fpc-pascal] TTestSuite

2016-09-02 Thread José Mejuto
El 02/09/2016 a las 15:24, Graeme Geldenhuys escribió: information will pollute the generated XML to stdout. Why not specify a output file for the generated XML, instead of letting it go to stdout. Run the FPCUnit console test application with the -h parameter to see what options are available.

Re: [fpc-pascal] TTestSuite

2016-09-02 Thread Graeme Geldenhuys
On 2016-09-02 14:14, José Mejuto wrote: > but if I use the writeln this > information will pollute the generated XML to stdout. Why not specify a output file for the generated XML, instead of letting it go to stdout. Run the FPCUnit console test application with the -h parameter to see what opti

Re: [fpc-pascal] TTestSuite

2016-09-02 Thread José Mejuto
El 02/09/2016 a las 14:39, Graeme Geldenhuys escribió: If the tests may show some kind of progress information I'm assuming you are talking about FPCUnit? If so, there is already a test progress listener implemented in the form of the TProgressWriter class (see the consoletestrunner.pas unit).

Re: [fpc-pascal] TTestSuite

2016-09-02 Thread Graeme Geldenhuys
On 2016-09-02 00:48, José Mejuto wrote: > If the tests may show some kind of progress information I'm assuming you are talking about FPCUnit? If so, there is already a test progress listener implemented in the form of the TProgressWriter class (see the consoletestrunner.pas unit). Simply run you

Re: [fpc-pascal] THashedStringList doesn't honour CaseSensitive?

2016-09-02 Thread Michael Van Canneyt
On Fri, 2 Sep 2016, Giuliano Colla wrote: In my application I stumbled into a problem with a search in a HashedStringList: IndexOfName doesn't return the proper index if the search string doesn't match the name case, even if CaseSensitive is set to false. For common sense and Delphi compati

Re: [fpc-pascal] TTestSuite

2016-09-02 Thread Michael Van Canneyt
On Fri, 2 Sep 2016, José Mejuto wrote: Hello, In the TTestSuite class when process is finished a XML is written to stdout. If the tests may show some kind of progress information, for manually run tests, this information must be in stdout, stderr, is there a specific method available for p

[fpc-pascal] THashedStringList doesn't honour CaseSensitive?

2016-09-02 Thread Giuliano Colla
In my application I stumbled into a problem with a search in a HashedStringList: IndexOfName doesn't return the proper index if the search string doesn't match the name case, even if CaseSensitive is set to false. For common sense and Delphi compatibility (http://docwiki.embarcadero.com/Libra

Re: [fpc-pascal] LLVM Backend Support

2016-09-02 Thread Michael Schnell
On 01.09.2016 03:28, Karoly Balogh (Charlie/SGR) wrote: 90% of the same as for the LLVM backend applies. I suppose inline ASM should be no problem with the GNU compile infrastructure. With the typical "embedded" cross compiling, all high language code is compiled to their ASM dialect and conv