[fpc-pascal] TTestSuite

2016-09-01 Thread José Mejuto
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 progress output ? Cheers, José Me

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

2016-09-01 Thread Marc Santhoff
On Do, 2016-09-01 at 14:24 -0700, fredvs wrote: > > Sorry, I can't help you much with that, ld-linux is not installed here > > and I don't know which package it is from. > > Huh, is it possible to install Linux packages (apt-get install something) in > a FreeBSD system ? > Or do you mean (like I

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

2016-09-01 Thread fredvs
> Sorry, I can't help you much with that, ld-linux is not installed here > and I don't know which package it is from. Huh, is it possible to install Linux packages (apt-get install something) in a FreeBSD system ? Or do you mean (like I did), copy ld-linux from a installed Linux system. ? Thanks

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

2016-09-01 Thread fredvs
Hello Pierre. I will try first with Jonas tip. If I m not able to do it work, i will try with binutils. Many thanks to help. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Linking-to-Linux-on-a-FreeBSD-system-with-Linux-emulated

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

2016-09-01 Thread Marc Santhoff
On Do, 2016-09-01 at 13:54 -0700, fredvs wrote: > > See Greames message for why you still will have to use the Linux ld. > > Your error message clearly says, the FreeBSD linker can only create bfsd > > code for i386 and x64. > > >> Supported emulation: elf_x86_64_fbsd and elf_i386_fbsd > > Yes,

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

2016-09-01 Thread Pierre Free Pascal
> -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] De la part de fredvs > Envoyé : jeudi 1 septembre 2016 22:55 > À : fpc-pascal@lists.freepascal.org > Objet : Re: [fpc-pascal] Linking to Linux on a FreeBSD system with

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

2016-09-01 Thread fredvs
> See Greames message for why you still will have to use the Linux ld. > Your error message clearly says, the FreeBSD linker can only create bfsd > code for i386 and x64. >> Supported emulation: elf_x86_64_fbsd and elf_i386_fbsd Yes, before to sent that topic, I have try with the Linux ld and...

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

2016-09-01 Thread fredvs
> But yes, I still prefer actual VMs of each OS. Me too if I had a powerful machine. But on a slow netbook, the fotal-emulator of FreeBSD is a perfect solution. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Linking-to-Linux-on-a

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

2016-09-01 Thread Graeme Geldenhuys
On 2016-09-01 19:53, Graeme Geldenhuys wrote: > in theory there should be issues testing a linux program under FreeBSD. Oops, typo. That should read: "..there should be no issues testing..." Regards, Graeme ___ fpc-pascal maillist - fpc-pascal@list

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

2016-09-01 Thread Graeme Geldenhuys
On 2016-09-01 20:28, Marc Santhoff wrote: > See Greames message for why you still will have to use the Linux ld. Yes, and when installed, it will most likely be installed in the /compat/linux/* hierarchy. Regards, Graeme ___ fpc-pascal maillist - f

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

2016-09-01 Thread Marc Santhoff
On Do, 2016-09-01 at 09:56 -0700, fredvs wrote: > > With fpc's -k parameter, you can pass parameters directly to the linker. > > If you need to pass multiple parameters, use -k several times > > (e.g.-k-para1 -kvalue1) > > Wow, many thanks Jonas. > > I will try it and write you the result. > > B

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

2016-09-01 Thread Graeme Geldenhuys
On 2016-09-01 19:02, Sven Barth wrote: > Keep in mind however that such emulators are never perfect and thus it > might be necessary nevertheless to test on a real system. Linux support under FreeBSD is actually a full install of CentOS 6. So in theory there should be issues testing a linux progra

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

2016-09-01 Thread Sven Barth
Am 01.09.2016 18:56 schrieb "fredvs" : > > > With fpc's -k parameter, you can pass parameters directly to the linker. > > If you need to pass multiple parameters, use -k several times > > (e.g.-k-para1 -kvalue1) > > Wow, many thanks Jonas. > > I will try it and write you the result. > > But, imagin

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

2016-09-01 Thread fredvs
> With fpc's -k parameter, you can pass parameters directly to the linker. > If you need to pass multiple parameters, use -k several times > (e.g.-k-para1 -kvalue1) Wow, many thanks Jonas. I will try it and write you the result. But, imagine, with FreeBSD, you could: Compile and run on same syst

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

2016-09-01 Thread Jonas Maebe
On 01/09/16 18:32, fredvs wrote: Could it be possible to change the default emulation used by ld while linking ? With fpc's -k parameter, you can pass parameters directly to the linker. If you need to pass multiple parameters, use -k several times (e.g. -k-para1 -kvalue1) Jonas ___

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

2016-09-01 Thread fredvs
Hello. In a FreeBSD 64 system with Linux emulated, fpc-linux compiles without problems but at linking there is that message: > ... Linking > /usr/bin/ld: unrecognizer emulation mode: elf_x86_64 > Supported emulation: elf_x86_64_fbsd and elf_i386_fbsd In ld documentation there is: -memulation E

Re: [fpc-pascal] Libraries-search-path of /usr/bin/ld ?

2016-09-01 Thread fredvs
Yep, it does the work (with adding some 32 bit missing libraries). Many thanks Graeme. Fre;D PS: For elf problem, I will ask it with a new topic. - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Libraries-search-path-of-usr-bin-ld-tp572

Re: [fpc-pascal] LLVM Backend Support

2016-09-01 Thread Jonas Maebe
On 01/09/16 00:15, African Wild Dog wrote: And about GCC? It supports a wide variety of processors and OS. Apart from what others mentioned, GCC doesn't have a (even semi-)stable interface that can be used by external tools. Someone once started on something like that (https://gcc.gnu.org/wik