Re: [fpc-pascal] Linux getifaddrs

2018-02-28 Thread Michael Van Canneyt
On Wed, 28 Feb 2018, Brian wrote: Has anyone translated* getifaddrs* function to Free Pascal ? http://man7.org/linux/man-pages/man3/getifaddrs.3.html Not to my knowledge. It's not a kernel function, but a Libc function, as far as I can see ? Michael.

Re: [fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-28 Thread Michael Ring
I have uploaded my Code to github: https://github.com/michael-ring/mbf.git In the Patches directory you will find a patch to add all STM32L4 chips to a vanilla fpc-trunk installation. Please pm me for questions or use github, documentation is still very sparse ;-) The Blinky Example is

Re: [fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-28 Thread R0b0t1
On Wed, Feb 28, 2018 at 11:27 AM, Michael Ring wrote: > Am 28.02.18 um 03:22 schrieb R0b0t1: >> >> On Tue, Feb 27, 2018 at 2:43 AM, Michael Ring >> wrote: >>> >>> The process is completely automated and is based on converting the header >>> files

[fpc-pascal] Linux getifaddrs

2018-02-28 Thread Brian
Has anyone translated* getifaddrs* function to Free Pascal ? http://man7.org/linux/man-pages/man3/getifaddrs.3.html Thanks Brian -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ ___ fpc-pascal maillist -

Re: [fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-28 Thread Michael Ring
Am 28.02.18 um 03:22 schrieb R0b0t1: On Tue, Feb 27, 2018 at 2:43 AM, Michael Ring wrote: The process is completely automated and is based on converting the header files that come in the CMSIS packages of the processors. Excellent! What about the startup assembly

Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-28 Thread Henry Vermaak
On Wed, Feb 28, 2018 at 01:36:31PM +0100, Bart wrote: > On Wed, Feb 28, 2018 at 10:58 AM, Henry Vermaak > wrote: > > The Windows implementation of GetLanguageIDs() in gettext.pp is not > > right. It uses GetLocaleInfo() with LOCALE_SABBREVLANGNAME and > >

Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-28 Thread Bart
On Wed, Feb 28, 2018 at 10:58 AM, Henry Vermaak wrote: > On Wed, Feb 21, 2018 at 12:11:10PM +0100, Darius Blaszyk wrote: >> On my machine getlocaleinfo returns ZZZ when requesting the abbrev >> langname. The country code is correctly set to NL. This makes My Win 10

Re: [fpc-pascal] GetLocaleInfo returns ZZZ

2018-02-28 Thread Henry Vermaak
On Wed, Feb 21, 2018 at 12:11:10PM +0100, Darius Blaszyk wrote: > On my machine getlocaleinfo returns ZZZ when requesting the abbrev > langname. The country code is correctly set to NL. This makes > gettext.GetLanguageIDs return zz_NL. What could be causing this? > > Also the behavior of