flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > IDE Development > Fresh IDE instant installer for Linux.

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3415
Location: Bulgaria
Fresh IDE instant installer for Linux.
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]


Description: FreshNow auto installer for Linux. v2.0
Download
Filename: bleeding_edge_fresh.tar.gz
Filesize: 60.56 KB
Downloaded: 21 Time(s)


_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9


Last edited by JohnFound on 08 May 2014, 19:26; edited 1 time in total
Post 06 May 2014, 20:24
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 6278
congratulation!! JohnFound.
Post 06 May 2014, 20:42
View user's profile Send private message Reply with quote
STLVNUB



Joined: 08 Aug 2008
Posts: 13
Nice one JohnFound, all we need now is IDE for OS X Wink
Post 07 May 2014, 04:05
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3415
Location: Bulgaria

STLVNUB wrote:
Nice one JohnFound, all we need now is IDE for OS X Wink



AFAIK, OSX is based on Linux and WINE can be installed on OS X, so Fresh probably will run like a charm. Although I never tested. If you have computer running OS X, you can try and report.

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 07 May 2014, 04:24
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
sid123



Joined: 30 Jul 2013
Posts: 340
Location: Asia, Singapore

Quote:
AFAIK, OSX is based on Linux


IIRC it's *BSD.
Image

_________________
"Those who can make you believe in absurdities can make you commit atrocities" -- Voltaire https://github.com/Benderx2/R3X
XD
Post 07 May 2014, 08:46
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3415
Location: Bulgaria

sid123 wrote:

Quote:
AFAIK, OSX is based on Linux


IIRC it's *BSD.



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: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 07 May 2014, 09:39
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
gens



Joined: 18 Feb 2013
Posts: 159
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)
Post 07 May 2014, 18:00
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3415
Location: Bulgaria
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.
Post 07 May 2014, 18:50
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
gens



Joined: 18 Feb 2013
Posts: 159
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
Post 07 May 2014, 19:17
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3415
Location: Bulgaria

gens wrote:
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



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: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 07 May 2014, 19:24
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3415
Location: Bulgaria
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).
Post 08 May 2014, 19:33
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.