flat assembler
Message board for the users of flat assembler.
Index
> Main > FASM Operative Sistem |
Author |
|
LocoDelAssembly 13 Jul 2010, 21:04
Make sure your FreeBSD installation is not 64-bit only (if it is not always the case) and it will work. You'll have to use the Unix/libc version and link the object since there is no executable provided in the package.
|
|||
13 Jul 2010, 21:04 |
|
ManOfSteel 13 Jul 2010, 22:12
How about using the ports tree?
|
|||
13 Jul 2010, 22:12 |
|
farresito 13 Jul 2010, 22:28
LocoDelAssembly,
I red a post from you that you asked a Hello World for FreeBSD (http://board.flatassembler.net/topic.php?t=6210). May I have incompatibilities? (I dont know what is SYSV nor ABI...) Thanks! PD: So all I need is to compile and link it to a C library, right? And if I would like to change from OS, it will be the same? Thanks so much! |
|||
13 Jul 2010, 22:28 |
|
LocoDelAssembly 13 Jul 2010, 23:56
farresito, check the same thread again, I've just updated it.
To make fasm work just use "gcc fasm.o -o fasm" and that's it. You can of course use only plain "format ELF" and use libc like the libc examples and then link, in that case your code is very likely to work on many Unix-like OSes targets (should be all supporting libc but there could be some specifics that are transparent when you code in C but not in Assembly). Obviously only the ".o" file will be portable, you'll have to link for each Unix-like OS you like to support no matter whether you use libc or plain system calls as the executables are not portable (some systems allow to run ELF targeted for other systems like FreeBSD with its Linux emulation support, but none will support arbitrary foreign ABIs) |
|||
13 Jul 2010, 23:56 |
|
farresito 14 Jul 2010, 00:48
Thanks a lot! All right! So Im going to try what you explained me.
Gracias PD: How many hours do you spend in the forum? You always reply my questions ! |
|||
14 Jul 2010, 00:48 |
|
LocoDelAssembly 14 Jul 2010, 01:19
WHAT?! IS THERE SOMETHING ELSE IN THIS LIFE THAN THIS FORUM???!!!
ManOfSteel, sorry I've skipped your post earlier. Yes, it sounds like a good idea since by looking at this, it is clear that it is pretty well maintained. I hope it is available in stable releases (if applicable). |
|||
14 Jul 2010, 01:19 |
|
ManOfSteel 14 Jul 2010, 09:15
LocoDelAssembly wrote: I hope it is available in stable releases (if applicable). Third party applications are independent from the operating system. When installed from the ports tree (what you saw in the link) they are always available on all systems equally (-RELEASE, -STABLE and -CURRENT) since the system always fetches the source from the application's website. Other than the source location, the only thing stored in the tree is the patch. Binary packages, on the other hand, never change for a -RELEASE but are updated every few weeks in the -STABLE repository. |
|||
14 Jul 2010, 09:15 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.