-a- compilation : pc
when compil x11-basic (win 7 - mingw) some errors :
not found : sysexts.h , sys/ioctl.h , sys/reboot.h ... , linux/fb.h ... pthreads.h
i can found with the web but not sure they are compatible.
is it possible to have a complet source with include for good compilation ?
-b- package : android
where found the source of the android package for make a second instance of x11-basic ?
first test with 'android multitool' KO
(with RFO-basic success (Basic! ==> Bazik!) but RFO-basic to slow)
Thanks for help and Regards
Charles
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make the windows version of X11-Basic I use a linux installation and the mingw corisscompiler. You just need the X11-basic source package and do a
"./configure; make windows" to get all the files. sysexts.h , sys/ioctl.h , sys/reboot.h ... , linux/fb.h ... pthreads.h are not needed. The compile flag WINDOWS should disable this (all done by the Makefile).
Last edit: Markus Hoffmann 2014-06-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The sources for the Android IDE for X11-basic is not published, but if you want, I can send you a copy (readymade for eclipse). Please send me an email.
There has been an effort to make an apk-builder for X11-Basic, like the one RFO-Basic has, but it failed. Maybe you want to try again?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It looks like your development environment for gcc (linux) is not setup correctly. It looks like the package libc6-dev is missing. You need to install it first.
The second thing is that setup.exe is not there. You should take it from the win-binary package of X11-Basic and put it in a Folder Windows-Installer/
To make things more easy, you could try just
make xbasic.exe
make windows will do a tricky procedure to produce all the compiler files for WINDOWS:
1. compile a native (linux) version of xbc
2. make a bytecode version of xbc.win.bas
3. make xbasic (for linux)
4. make xbvm.exe (and xbbc.exe)
5. run the bytecode version of xbc.win.bas to make xbc.exe
6. pack everything together into a .zip file.
You can anlyze the Makefile (produced by ./configure) for all details.
Sorry, for this complication, programming for WINDOWS is a real mess.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hm, no, so far it was only me who has compiled it, at least it looks like, because Windows.extension/fnmatch.h is really missing in the package. This is a pity of course, because I myself not t even use Windows.
The content of this directory is third party content, which in principle can be found searching in the internet:
I pack it and attach it here:
But I see everything is from 2005 and probably the Makefile needs rework. Also a new Version of the SDL library could be put there.
It looks like I need a volunteer which maintains the windows package. Also maybe someone who rewrites the setup.exe so that we can have an open source version of this stupid installer....
Do not forget
sudo apt-get install libc6-dev xorg-dev
and probably more to have a linux development environment.
(in case you use a debian based distribution like ubuntu).
You must be able to produce the linux version of X11-basic without errors:
make
or at least
make static
Last edit: Markus Hoffmann 2014-06-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bonjour Markus
-a- compilation : pc
when compil x11-basic (win 7 - mingw) some errors :
not found : sysexts.h , sys/ioctl.h , sys/reboot.h ... , linux/fb.h ... pthreads.h
i can found with the web but not sure they are compatible.
is it possible to have a complet source with include for good compilation ?
-b- package : android
where found the source of the android package for make a second instance of x11-basic ?
first test with 'android multitool' KO
(with RFO-basic success (Basic! ==> Bazik!) but RFO-basic to slow)
Thanks for help and Regards
Charles
To make the windows version of X11-Basic I use a linux installation and the mingw corisscompiler. You just need the X11-basic source package and do a
"./configure; make windows" to get all the files. sysexts.h , sys/ioctl.h , sys/reboot.h ... , linux/fb.h ... pthreads.h are not needed. The compile flag WINDOWS should disable this (all done by the Makefile).
Last edit: Markus Hoffmann 2014-06-17
The sources for the Android IDE for X11-basic is not published, but if you want, I can send you a copy (readymade for eclipse). Please send me an email.
There has been an effort to make an apk-builder for X11-Basic, like the one RFO-Basic has, but it failed. Maybe you want to try again?
Bonjour Markus
attached log.
i am poor Microsoft man.
is my MINGW KO ?
for the email on private.
thanks
It looks like your development environment for gcc (linux) is not setup correctly. It looks like the package libc6-dev is missing. You need to install it first.
The second thing is that setup.exe is not there. You should take it from the win-binary package of X11-Basic and put it in a Folder Windows-Installer/
To make things more easy, you could try just
make xbasic.exe
make windows will do a tricky procedure to produce all the compiler files for WINDOWS:
1. compile a native (linux) version of xbc
2. make a bytecode version of xbc.win.bas
3. make xbasic (for linux)
4. make xbvm.exe (and xbbc.exe)
5. run the bytecode version of xbc.win.bas to make xbc.exe
6. pack everything together into a .zip file.
You can anlyze the Makefile (produced by ./configure) for all details.
Sorry, for this complication, programming for WINDOWS is a real mess.
Bonjour Markus
-a- compilation PC
1-gcc is mingw32-gcc Bloodshed product. It works fine.
2-create Windows-Installer
create Windows.extension
3-change makefile i586-mingw32msvc-gcc to mingw32-gcc
4-attached make_windows.txt log file
5-example of error
"io.c:93:41: Windows.extension/fnmatch.h: No such file or directory"
not easy !
someone already compile x11basic on mindows Machine ?
-b- package : android
i send you my email address
thanks for help
Charles
Hm, no, so far it was only me who has compiled it, at least it looks like, because Windows.extension/fnmatch.h is really missing in the package. This is a pity of course, because I myself not t even use Windows.
The content of this directory is third party content, which in principle can be found searching in the internet:
I pack it and attach it here:
But I see everything is from 2005 and probably the Makefile needs rework. Also a new Version of the SDL library could be put there.
It looks like I need a volunteer which maintains the windows package. Also maybe someone who rewrites the setup.exe so that we can have an open source version of this stupid installer....
Any help is welcome...
And this is what the output of "make windows" should look like.
Last edit: Markus Hoffmann 2014-06-19
Do not forget
sudo apt-get install libc6-dev xorg-dev
and probably more to have a linux development environment.
(in case you use a debian based distribution like ubuntu).
You must be able to produce the linux version of X11-basic without errors:
make
or at least
make static
Last edit: Markus Hoffmann 2014-06-19