Re: [fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread Karoly Balogh (Charlie/SGR)
Hi, On Sat, 4 Apr 2020, Juha Manninen via fpc-pascal wrote: > I installed FPC 3.2RC1 Win32 version under Wine in Linux Manjaro 64-bit. > Wine version is a recent 5.5-1. Compiling a hello.lpr program works. > (...) > Has anybody built Lazarus under Wine? Should I test with FPC 3.0.4? Is > this so

Re: [fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread Juha Manninen via fpc-pascal
On Sat, Apr 4, 2020 at 10:48 PM fredvs via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Not sure to understand. > > So is it ok, only a warning to fix "Unsupported ioctl" or the linking still > fails? > After Alexander Grotewohl's reply I understood the only line with text "error" is th

Re: [fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread fredvs via fpc-pascal
> Ok, the fatal error was the "Path "..\" does not exist" instead of "Unsupported ioctl". Not sure to understand. So is it ok, only a warning to fix "Unsupported ioctl" or the linking still fails? -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ _

Re: [fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread Juha Manninen via fpc-pascal
On Sat, Apr 4, 2020 at 10:13 PM Juha Manninen wrote: > Lazarus source dir is a symlink to my current sources. It should AFAIK. (?) > Should be: "It should work as far as I know." My brain capacity is getting low after some bug fixing etc. ___ fpc-pasca

Re: [fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread Juha Manninen via fpc-pascal
On Sat, Apr 4, 2020 at 8:43 PM Alexander Grotewohl wrote: > my guess is that function of wine is unimplemented (pretends to work but > does nothing) > try to see if you can fix the cause of the second error? does wine handle > relative paths gracefully? > Ok, the fatal error was the "Path "..\"

Re: [fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread fredvs via fpc-pascal
Hello Juha. Here on Linux Dedian 10.2 64 bit multi-arch it is working perfectly. I use wine + fpc.exe to compile many project, included MSEide or ideU. Where did you install fpc.exe, in .wine/drive_ ? Here where I did install it: /home/fred/.wine/drive_c/FPC/3.0.4/bin/i386-win32/ppc386.exe Did

Re: [fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread Alexander Grotewohl
my guess is that function of wine is unimplemented (pretends to work but does nothing) try to see if you can fix the cause of the second error? does wine handle relative paths gracefully? -- Alexander Grotewohl https://dcclost.com From: fpc-pascal on behalf of

[fpc-pascal] Wine + Unsupported ioctl

2020-04-04 Thread Juha Manninen via fpc-pascal
Hello I installed FPC 3.2RC1 Win32 version under Wine in Linux Manjaro 64-bit. Wine version is a recent 5.5-1. Compiling a hello.lpr program works. Then I made a symbolic link for my Lazarus trunk sources and tried to build with both "make all" and "make bigide". All components compile well but wi

Re: [fpc-pascal] Pass open array to static array?

2020-04-04 Thread Sven Barth via fpc-pascal
Ryan Joseph via fpc-pascal schrieb am Fr., 3. Apr. 2020, 21:03: > > > > On Apr 3, 2020, at 10:09 PM, Sven Barth > wrote: > > > > If your DoThis would be declared with a dynamic array parameter (e.G. > "specialize TArray") then you'd in fact have a temporary dynamic > array constructed on the hea