flat assembler
Message board for the users of flat assembler.

Index > Unix > FreeBSD interface for FASM

Author
Thread Post new topic Reply to topic
Dryobates



Joined: 13 Jul 2003
Posts: 46
Location: Poland
Dryobates 06 Jan 2005, 20:43
Probably it's useless for most since FASM can run in linux emulation mode, but if someone for some reasons don't have this switch on here's Fasm interface for FreeBSD.
FASM for FreeBSD (I can't tell you how long it'll be there. I couldn't upload as attachement. If it'll disappear for some reason ask me on Jabber - it's in profile)

One major thing that is different from Linux version is memory managment. Used in linux fasm brk is not recommended in new FreeBSD code, so I used mmap. I couldn't find sysinfo in FreeBSD, so if no memory size was put on command line for fasm it'll allocate 1MB (begginers don't need more, advanced users know that '-m' switch exists).

One thing I would like to ask Privalov:
Don't you think that it should be printed in usage, that it is possible to use '-p' and '-m' switches?

One more thing... you still have to use brandelf -t FreeBSD fasm, because FASM generates SYSTEM V ELF files.

_________________
There's one more bug... Smile
Image
Post 06 Jan 2005, 20:43
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc 07 Jan 2005, 01:49
I've merged your FreeBSD port into my personal source tree at http://www.retroforth.org/dev/fasm156-crc.tar.gz (includes source for all OSes, binaries for Win32 Console, FreeBSD, Linux; Makefile to build the BeOS port)
Post 07 Jan 2005, 01:49
View user's profile Send private message Visit poster's website Reply with quote
TheRaven



Joined: 22 Apr 2008
Posts: 91
Location: U.S.A.
TheRaven 15 Jan 2015, 09:14
crc wrote:
I've merged your FreeBSD port into my personal source tree at http://www.retroforth.org/dev/fasm156-crc.tar.gz (includes source for all OSes, binaries for Win32 Console, FreeBSD, Linux; Makefile to build the BeOS port)


CRC your link is broken...

_________________
Nothing so sought and avoided more than the truth.
I'm not insane, I know the voices in my head aren't real!
Post 15 Jan 2015, 09:14
View user's profile Send private message 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.