Re: flinuxpicolisp

2016-07-05 Thread Joe Bogner
Oleksandr, thank you for the report. Please confirm, what does *CPU report
under the src64 version on the Win10/Windows Subsystem? If it is emu then
it is running the emulated version of the 64-bit version, which is good but
not optimal for performance

I have a 32-bit windows 10 machine and the Windows Subsystem for Linux was
not available on 32-bit as of a few months ago, which is one of the reasons
I started working on the win-x86-64 port.

If the native, assembly, version of PicoLisp 64 runs under Win10/x64 then
that would be great. I will still continue to work on my port as I would
like to support those without access to win10 (myself included).




On Tue, Jul 5, 2016 at 2:14 AM, Oleksandr Nikitin <oleksa...@tvori.info>
wrote:

> Hi Rick, Thursten
>
> just FYI, both 32 and 64-bit PicoLisp compiles and runs pretty much
> transparently on the new "Windows Subsystem for Linux".
>
> Haven't tried using database yet, though.
>
> On Tue, Jul 5, 2016 at 5:26 AM, Rick Hanson <cryptor...@gmail.com> wrote:
>
>> On Mon, Jul 4, 2016 at 2:17 PM, Thorsten wrote:
>> > Hi List,
>>
>> Hi, Thorsten !
>>
>> > I just discovered a nice article by Joe Bogner about FLINUX as an
>> > alternative was to run PicoLisp under Windows
>> > (http://picolisp.com/wiki/?  flinuxpicolisp).
>> >
>> > I tried it out, and succeded to a certain point but not further.
>> >
>> > When installing necessary tools like wget, make etc. I often hit the
>> > "could not change the root directory (No such file or directory)"
>> > error, but it appeared after the last installation step, and after
>> > an C-c installation appeared successful.
>> >
>> > But when trying to compile the 64bit version, Java is missing, and
>> > when I try to install it, I get the above error in the middle of the
>> > installation process that thus cannot finish.
>> >
>> > There is some info about this
>> > (https://github.com/wishstudio/flinux/issues/63), but I could not
>> > really find a solution. Did somebody on the list succeed with the
>> > Flinux install of the 64bit version on Windows?
>>
>> I'm not aware.  It looks as if his article
>>
>> http://picolisp.com/wiki/?flinuxpicolisp
>>
>> was only meant for 32-bit pil builds.
>>
>> On the other hand and on the topic of Windows 64-bit pil builds, Joe
>> is currently working on and very close to a solution based on midipix.
>>
>> http://www.midipix.org/#sec-midipix
>>
>> He has been working closely with the midipix author for many weeks now
>> (back and forth on IRC) to iron out particular problems with getting
>> pil ported there.
>>
>> There is not much in the way of documentation yet, but Joe has
>> cataloged some pil patches related to the midipix build here:
>>
>> https://github.com/joebo/picoLisp-win-x86-64
>>
>> (and there might be more he has not pushed yet; not entirely sure.)
>>
>> At any rate, when we see Joe (joebo) on #picolisp let's remind
>> ourselves to ask him to update us about it here on the ML.
>>
>> > Any hints would be welcome.
>> > Cheers
>> > Thorsten
>>
>> Best, --Rick
>> --
>> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>>
>
>
>
> --
> With best wishes, Oleksandr Nikitin
>
> skype: wizzard0
>


Re: flinuxpicolisp

2016-07-05 Thread Joe Bogner
On Mon, Jul 4, 2016 at 2:17 PM, Thorsten <tjol...@gmail.com> wrote:

> Hi List,
> I just discovered a nice article by Joe Bogner about FLINUX as an
> alternative was to run PicoLisp under Windows (http://picolisp.com/wiki/?
> flinuxpicolisp).
>
>
Hi Thorsten, glad you found it.


> I tried it out, and succeded to a certain point but not further.
>
> When installing necessary tools like wget, make etc. I often hit the
> "could not change the root directory (No such file or directory)" error,
> but it appeared after the last installation step, and after an C-c
> installation appeared successful.
>
>
I had the same experience. I think it was a side effect of how bash runs
within it and didn't affect the pil32 execution as far as I remember.


> But when trying to compile the 64bit version, Java is missing, and when I
> try to install it, I get the above error in the middle of the installation
> process that thus cannot finish.
>
>
Unfortunately, I don't think you'll be able to compile or run the 64bit
version. I was unable to compile a x64 version of flinux and it seems like
it is not implemented. For example,
https://github.com/wishstudio/flinux/tree/7874a4ff9ba2fec4ad1c67b857c563288d5aa93e/src/dbt,
does not have an x64 version and the assembly for x86_trampoline does not
compile under visual c++ x64.

This is the main motivation for working on the native x64 version of
PicoLisp using midipix as the linux syscall interop layer.  Thanks for the
mention Rick!

The x64 version is still in a draft status, most of the changes are here:
https://github.com/joebo/picoLisp-win-x86-64/blob/master/src64/arch/win-x86-64.l,
to support the different ABI calling convention. It relies on midipix which
is still in alpha and hasn't yet been released which is why I haven't
actively promoted it. There's a few workarounds still in the code too, for
example dlopen isn't yet implemented in midipix so ht ext: code needs to be
compiled into the picolisp binary,
https://github.com/joebo/picoLisp-win-x86-64/blob/master/src64/Makefile#L129

The current x64 windows binary release can be found under Releases in the
github repo linked above,
https://github.com/joebo/picoLisp-win-x86-64/releases

There is some info about this
> (https://github.com/wishstudio/flinux/issues/63), but I could not really
> find a solution. Did somebody on the list succeed with the Flinux install
> of the 64bit version on Windows?
>
> Any hints would be welcome.
> Cheers
> Thorsten
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


Re: flinuxpicolisp

2016-07-05 Thread Oleksandr Nikitin
Hi Rick, Thursten

just FYI, both 32 and 64-bit PicoLisp compiles and runs pretty much
transparently on the new "Windows Subsystem for Linux".

Haven't tried using database yet, though.

On Tue, Jul 5, 2016 at 5:26 AM, Rick Hanson <cryptor...@gmail.com> wrote:

> On Mon, Jul 4, 2016 at 2:17 PM, Thorsten wrote:
> > Hi List,
>
> Hi, Thorsten !
>
> > I just discovered a nice article by Joe Bogner about FLINUX as an
> > alternative was to run PicoLisp under Windows
> > (http://picolisp.com/wiki/?  flinuxpicolisp).
> >
> > I tried it out, and succeded to a certain point but not further.
> >
> > When installing necessary tools like wget, make etc. I often hit the
> > "could not change the root directory (No such file or directory)"
> > error, but it appeared after the last installation step, and after
> > an C-c installation appeared successful.
> >
> > But when trying to compile the 64bit version, Java is missing, and
> > when I try to install it, I get the above error in the middle of the
> > installation process that thus cannot finish.
> >
> > There is some info about this
> > (https://github.com/wishstudio/flinux/issues/63), but I could not
> > really find a solution. Did somebody on the list succeed with the
> > Flinux install of the 64bit version on Windows?
>
> I'm not aware.  It looks as if his article
>
> http://picolisp.com/wiki/?flinuxpicolisp
>
> was only meant for 32-bit pil builds.
>
> On the other hand and on the topic of Windows 64-bit pil builds, Joe
> is currently working on and very close to a solution based on midipix.
>
> http://www.midipix.org/#sec-midipix
>
> He has been working closely with the midipix author for many weeks now
> (back and forth on IRC) to iron out particular problems with getting
> pil ported there.
>
> There is not much in the way of documentation yet, but Joe has
> cataloged some pil patches related to the midipix build here:
>
> https://github.com/joebo/picoLisp-win-x86-64
>
> (and there might be more he has not pushed yet; not entirely sure.)
>
> At any rate, when we see Joe (joebo) on #picolisp let's remind
> ourselves to ask him to update us about it here on the ML.
>
> > Any hints would be welcome.
> > Cheers
> > Thorsten
>
> Best, --Rick
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>



-- 
With best wishes, Oleksandr Nikitin

skype: wizzard0


Re: flinuxpicolisp

2016-07-04 Thread Rick Hanson
On Mon, Jul 4, 2016 at 2:17 PM, Thorsten wrote:
> Hi List,

Hi, Thorsten !

> I just discovered a nice article by Joe Bogner about FLINUX as an
> alternative was to run PicoLisp under Windows
> (http://picolisp.com/wiki/?  flinuxpicolisp).
>
> I tried it out, and succeded to a certain point but not further.
>
> When installing necessary tools like wget, make etc. I often hit the
> "could not change the root directory (No such file or directory)"
> error, but it appeared after the last installation step, and after
> an C-c installation appeared successful.
>
> But when trying to compile the 64bit version, Java is missing, and
> when I try to install it, I get the above error in the middle of the
> installation process that thus cannot finish.
>
> There is some info about this
> (https://github.com/wishstudio/flinux/issues/63), but I could not
> really find a solution. Did somebody on the list succeed with the
> Flinux install of the 64bit version on Windows?

I'm not aware.  It looks as if his article

http://picolisp.com/wiki/?flinuxpicolisp

was only meant for 32-bit pil builds.

On the other hand and on the topic of Windows 64-bit pil builds, Joe
is currently working on and very close to a solution based on midipix.

http://www.midipix.org/#sec-midipix

He has been working closely with the midipix author for many weeks now
(back and forth on IRC) to iron out particular problems with getting
pil ported there.

There is not much in the way of documentation yet, but Joe has
cataloged some pil patches related to the midipix build here:

https://github.com/joebo/picoLisp-win-x86-64

(and there might be more he has not pushed yet; not entirely sure.)

At any rate, when we see Joe (joebo) on #picolisp let's remind
ourselves to ask him to update us about it here on the ML.

> Any hints would be welcome.
> Cheers
> Thorsten

Best, --Rick
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Re: flinuxpicolisp

2016-07-04 Thread Mike Pechkin
hi all,

why not cygwin with 32bit version of PicoLisp?
it works out of box, tested, passed buildin tests and can run all my code
as any linux.

Mike

On Mon, Jul 4, 2016 at 9:17 PM, Thorsten <tjol...@gmail.com> wrote:

> Hi List,
> I just discovered a nice article by Joe Bogner about FLINUX as an
> alternative was to run PicoLisp under Windows (http://picolisp.com/wiki/?
> flinuxpicolisp).
>
> I tried it out, and succeded to a certain point but not further.
>
> When installing necessary tools like wget, make etc. I often hit the
> "could not change the root directory (No such file or directory)" error,
> but it appeared after the last installation step, and after an C-c
> installation appeared successful.
>
> But when trying to compile the 64bit version, Java is missing, and when I
> try to install it, I get the above error in the middle of the installation
> process that thus cannot finish.
>
> There is some info about this
> (https://github.com/wishstudio/flinux/issues/63), but I could not really
> find a solution. Did somebody on the list succeed with the Flinux install
> of the 64bit version on Windows?
>
> Any hints would be welcome.
> Cheers
> Thorsten
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


flinuxpicolisp

2016-07-04 Thread Thorsten
Hi List,
I just discovered a nice article by Joe Bogner about FLINUX as an 
alternative was to run PicoLisp under Windows (http://picolisp.com/wiki/?
flinuxpicolisp).

I tried it out, and succeded to a certain point but not further.

When installing necessary tools like wget, make etc. I often hit the 
"could not change the root directory (No such file or directory)" error, 
but it appeared after the last installation step, and after an C-c 
installation appeared successful.

But when trying to compile the 64bit version, Java is missing, and when I 
try to install it, I get the above error in the middle of the installation 
process that thus cannot finish.

There is some info about this 
(https://github.com/wishstudio/flinux/issues/63), but I could not really 
find a solution. Did somebody on the list succeed with the Flinux install 
of the 64bit version on Windows? 

Any hints would be welcome.
Cheers 
Thorsten

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe