Re: [fpc-pascal] CodePage fallback for FreeBSD systems

2015-09-14 Thread Jonas Maebe
On 10/09/15 14:19, Graeme Geldenhuys wrote: See the last file changed rtl/unix/unixcp.pp It seems it excludes FreeBSD in that $IF statement. Darwin is after all a FreeBSD fork. Darwin's libc is based on FreeBSD's and it shares a few user land utilities, but Darwin is far from a FreeBSD for

Re: [fpc-pascal] Linking failed on RaspberryPi

2015-09-14 Thread Jonas Maebe
On 04/09/15 03:15, Xiangrong Fang wrote: I try to compile my program on Pi, with the official FPC 2.6.4 for arm linux, Official from where: from your Raspberry Pi repository, or downloaded from our website? In the latter case: there are approximately a thousand different variants of ARM Linu

Re: [fpc-pascal] CodePage fallback for FreeBSD systems

2015-09-14 Thread Graeme Geldenhuys
On 2015-09-14 12:58, Jonas Maebe wrote: > That said: I have a very hard time believing that any contemporary Linux > or *BSD system would not come preconfigured with an UTF-8 locale for > every user, so you should never end up in the fallback situation unless > deliberately unset those environme

[fpc-pascal] Sound procedure does not work

2015-09-14 Thread Géza Kovacs Géza
Hi All, What can I use if the sound procedure unable to work? It works under Windows, when I use the WinCRT unit, but it unable to work under Linux. What are the methods of (cross-platform) produce sound? Best regards, G ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] Sound procedure does not work

2015-09-14 Thread Graeme Geldenhuys
On 2015-09-14 16:27, Géza Kovacs Géza wrote: > What are the methods of (cross-platform) produce sound? The best would be to create a cross-platform wrapper class around all sound API's on the platforms you are interested in. eg: OSS under FreeBSD, PulseAudio under Linux, MCI under Windows. SDL do

Re: [fpc-pascal] Linking failed on RaspberryPi

2015-09-14 Thread Peter
On 04/09/15 02:15, Xiangrong Fang wrote: > . > Is there anything missing from my FPC installation? > > TIA for any hint. > To build FPC programs on linux one generally needs a variant of libc-dev, which is not part of FPC itself. The package you need might be libc6-dev, or some other combi

Re: [fpc-pascal] Linking failed on RaspberryPi

2015-09-14 Thread Mark Morgan Lloyd
Peter wrote: On 04/09/15 02:15, Xiangrong Fang wrote: . Is there anything missing from my FPC installation? TIA for any hint. To build FPC programs on linux one generally needs a variant of libc-dev, which is not part of FPC itself. The package you need might be libc6-dev, or some other

Re: [fpc-pascal] Sound procedure does not work

2015-09-14 Thread Géza Kovacs Géza
Hi Graeme, Thx your answer. I unable to compile UOS on Windows, I tested it with Free Pascal 2.6.4. It produces the following errors: Free Pascal Compiler version 2.6.4 [2014/03/06] for i386 Copyright (c) 1993-2014 by Florian Klaempfl and others Target OS: Win32 for i386 Compiling consoleplay.pa

Re: [fpc-pascal] Sound procedure does not work

2015-09-14 Thread Bart
On 9/15/15, Géza Kovacs Géza wrote: > Thx your answer. > I unable to compile UOS on Windows, I tested it with Free Pascal 2.6.4. > > It produces the following errors: > > uos_portaudio.pas(359,9) Error: Identifier not found "Result" Try adding -MDelphi or -MObjFpc to the compiler options. Bart