Re: [fpc-pascal] Does the basic make INSTALL create ppcross386

2015-03-29 Thread leledumbo
> When 'make all' followed by 'make install' does the 'make all' command generate the cross compilers as well again, with CPU_TARGET=i386 on i386 systems: no > for them to be installed by crossinstall, or does cross install create the > cross compiler from scratch then install it afterwards? aga

Re: [fpc-pascal] Exceptions in Library

2015-03-29 Thread leledumbo
> As far as I can tell, exceptions propagate through to the main app - > (written with Lazarus in this case). > I would like to trap them directly within the library. // excp.pas library excp; {$mode objfpc} uses sysutils; procedure p; begin try raise exception.create('an exception')

[fpc-pascal] Exceptions in Library

2015-03-29 Thread steveg
Would anybody be able to enlighten me on enabling exception trapping in Linux libraries ? As far as I can tell, exceptions propagate through to the main app - (written with Lazarus in this case). I would like to trap them directly within the library. Pointers, clues, links, examples (heck, ev

Re: [fpc-pascal] fpHttpClient and Https support ?

2015-03-29 Thread silvioprog
On Sat, Mar 21, 2015 at 9:24 AM, Michael Van Canneyt wrote: > > > On Sat, 21 Mar 2015, fredvs wrote: > > Ooops, in earlier topic => Thanks Silvio. ;-) >> >> And, by the way, who may i thank for that excellent fpHttpClient.pas ? >> > > I plead guilty. > > Michael. hehe =D -- Silvio Clécio My

Re: [fpc-pascal] fpHttpClient and Https support ?

2015-03-29 Thread silvioprog
On Sat, Mar 21, 2015 at 9:08 AM, fredvs wrote: > Excellent, thanks. > > PS : Do you remember a old topic in Lazarus forum about uos and internet > audio streaming ? > (It was you who converts and helps me to install uos to GitHub). > > Now uos does internet audio streaming ! > Awesome. I'll test

Re: [fpc-pascal] Suggestion: TDataSetEnumerator

2015-03-29 Thread silvioprog
On Tue, Mar 10, 2015 at 5:48 PM, silvioprog wrote: > On Sat, Mar 7, 2015 at 4:27 AM, LacaK wrote: > >> What if TDataSetEnumerator.Current will return TFields instead of >> TDataSet which enumerates? >> >> Example: >> procedure IterateDataSet; >> var DataSet, DS: TDataSet; >> Flds: TFie

Re: [fpc-pascal] Does the basic make INSTALL create ppcross386

2015-03-29 Thread vfclists .
On 29 March 2015 at 20:13, leledumbo wrote: > > Does the basic make INSTALL create ppcross386 > > It works on a 64bit Ubuntu 14.04 system but fails when I try it on a > 32bit > > Ubuntu 12.04 system. > > It's weird to ask something like this, assuming you've understood the build > process already

Re: [fpc-pascal] Does the basic make INSTALL create ppcross386

2015-03-29 Thread leledumbo
> Does the basic make INSTALL create ppcross386 > It works on a 64bit Ubuntu 14.04 system but fails when I try it on a 32bit > Ubuntu 12.04 system. It's weird to ask something like this, assuming you've understood the build process already. I thought I've ever mentioned it, but here's again: when

Re: [fpc-pascal] getaddrinfo

2015-03-29 Thread Mark Morgan Lloyd
Ewald wrote: On 03/20/2015 04:14 AM, MegaBrutal wrote: I also need some help with using the function, as it works very strangely on Linux, as it returns addrinfo structures, but the ai_addr member is always a null-pointer, which is theoretically impossible by the manual, in my understanding. A

Re: [fpc-pascal] getaddrinfo

2015-03-29 Thread Ewald
On 03/20/2015 04:14 AM, MegaBrutal wrote: > I also need some help with using the function, as it works very > strangely on Linux, as it returns addrinfo structures, but the ai_addr > member is always a null-pointer, which is theoretically impossible by > the manual, in my understanding. As Mark su

[fpc-pascal] Does the basic make INSTALL create ppcross386

2015-03-29 Thread vfclists .
At some stage in the make INSTALL the installation stops with this message. /usr/bin/install -c -m 755 ppcross386 /home/user/lazarusBuildTesting/testbuild01/fpc/lib/fpc/3.1.1/ppcross386 /usr/bin/install: cannot stat `ppcross386': No such file or directory The script is adapted from the Codebot s

Re: [fpc-pascal] getaddrinfo

2015-03-29 Thread Mark Morgan Lloyd
Top-posting moved. Please don't. MegaBrutal wrote: 2015-03-20 4:14 GMT+01:00 MegaBrutal : Hi all, I'm working on an cross-platform application with DNS resolution with IPv6 support, but I can't really get around how should I handle IP version independent DNS resolution. After some searching,