flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 06 May 2014, 20:24
Just for fun and in order to improve my bash skills I wrote an instant installer for Fresh IDE on Linux.
It is suitable for those, who want to get the most recent work version of Fresh IDE, directly from the repository, but don't want to clone/checkout/compile/etc. It is a single bash script file, that will (try to) do the following: 0. Checks your environment for needed programs: WINE, wget, unzip. (It will not try to install them - do it yourself if not installed). 1. Downloads from the repository the tip version of the trunk branch. 2. Unpack it and compile Fresh IDE 3. Runs Fresh IDE How to use: Unpack applied archive in the directory where you want Fresh to be installed. The directory must be empty. Only the script must be there. Provide working internet connection. Type in the console "./FreshNow" . Wait and see the progress. [EDIT] Uploaded the v2.0 of the script. It works the same way, but adds some interactiveness - prints instructions and asks user for a choices. [/EDIT]
_________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 Last edited by JohnFound on 08 May 2014, 19:26; edited 1 time in total |
|||||||||||
![]() |
|
sleepsleep 06 May 2014, 20:42
congratulation!! JohnFound.
|
|||
![]() |
|
STLVNUB 07 May 2014, 04:05
Nice one JohnFound, all we need now is IDE for OS X
![]() |
|||
![]() |
|
sid123 07 May 2014, 08:46
Quote: AFAIK, OSX is based on Linux IIRC it's *BSD. ![]() _________________ "Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X XD |
|||
![]() |
|
JohnFound 07 May 2014, 09:39
sid123 wrote:
Well, Fresh should work on BSD as well. The only problem I can think of is that Fresh IDE uses Linux syscalls in order to manage some tasks in Linux. This way, the BSD system should have Linux compatibility layer installed. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
![]() |
|
gens 07 May 2014, 18:00
bsd and osx are bout unix, while linux is unix-like
if you use only POSIX standard calls there should be no problems other then syscall numbers they all use X and support gtk (idk if osx has anything specific with X) linux POSIX non compliance is in a couple minor details that are mostly not relevant if you coded futexes with the kernel, pthreads (posix threads) are implemented in libc in linux (idk bsd and darwin, but they support pthreads somehow) |
|||
![]() |
|
JohnFound 07 May 2014, 18:50
gens, Fresh IDE is Win32 application. It uses WINE in order to run in Linux. So, I suppose WINE for OS X and BSD is implemented in proper way and Fresh will run properly.
Well, actually it is not the whole truth. Fresh IDE actually is hybrid application. Besides Win32 API it also uses some Linux system calls (sys_chmod for example) - these might or might not work in OS X/BSD. I can't test it because I don't have computer with OS X or BSD installed. So, if someone is willing to check and report, I can make something to provide this functionality. |
|||
![]() |
|
gens 07 May 2014, 19:17
and you are making/have made fresh lib to be portable, i am talking about the linux part and differences with unix
wine works on bsd and osx so that should not be a problem |
|||
![]() |
|
JohnFound 07 May 2014, 19:24
gens wrote: and you are making/have made fresh lib to be portable, i am talking about the linux part and differences with unix Well, FreshLib has long way to go, until is able to support the whole Fresh IDE application. For now only the non-GUI code is more or less ready and portable. But definitely when finished, it will use separate OS-dependent layer for BSD. _________________ Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9 |
|||
![]() |
|
JohnFound 08 May 2014, 19:33
The script has been updated. Check the first post.
Also, the trunk has interesting updates now. An experimental function "Unroll macro" that tries to show what is generated by some macro line. Install the bleeding edge version with the above script and play: Compile, position the caret on the line you want and press Ctrl+U (or choose "Unroll macro" from the context menu). |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.