flat assembler
Message board for the users of flat assembler.

Index > Linux > What is the difference between FASM LINUX and FASM LIBC ?

Author
Thread Post new topic Reply to topic
shutdownall



Joined: 02 Apr 2010
Posts: 517
Location: Munich
shutdownall 20 Jan 2013, 21:22
I want to provide a version of FASM Z80 version for some LINUX users and not sure what is the difference between the LINUX version and LIBC. Both is ELF format. Shocked

Is the LINUX FASM an executable program for LINUX ?
I don't use LINUX by now. Wink
Post 20 Jan 2013, 21:22
View user's profile Send private message Send e-mail Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1178
Location: Unknown
HaHaAnonymous 20 Jan 2013, 21:24
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 21:57; edited 1 time in total
Post 20 Jan 2013, 21:24
View user's profile Send private message Reply with quote
Spool



Joined: 08 Jan 2013
Posts: 151
Spool 20 Jan 2013, 21:36
[ Post removed by author. ]


Last edited by Spool on 17 Mar 2013, 04:26; edited 1 time in total
Post 20 Jan 2013, 21:36
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 20 Jan 2013, 21:52
The console FASM for Linux is native Linux application and this way it possibly will not run in other Unix systems. (Because it uses Linux syscalls for all I/O - file access, console write, etc.)
The LIBC version of FASM uses LIBC functions for the same purpose and because of this is little bit more portable across the different POSIX compliant OSes.
In general, the proper port of FASM for some particular OS should not use LIBC. IMHO, using LIBC is "quick and dirty" way to port FASM.
Post 20 Jan 2013, 21:52
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
shutdownall



Joined: 02 Apr 2010
Posts: 517
Location: Munich
shutdownall 20 Jan 2013, 22:30
Thanks, John.
Good explanation. Very Happy
Post 20 Jan 2013, 22:30
View user's profile Send private message Send e-mail 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


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.