flat assembler
Message board for the users of flat assembler.

flat assembler > Main > Jloc

Author
Thread Post new topic Reply to topic
fasm9



Joined: 19 Jun 2003
Posts: 439
fasm uses linker? is it 'val'?

Quote:
This program is a linker/locator for use when you need more control over
placement of sections within the image, than a standard linker provides.

http://my.execpc.com/~geezer/johnfine/jloc.htm
http://www.hostileencounter.com/sol_os/


--
con, pro? Anyway i want everything in my fasm ;)
Regards
Post 04 Aug 2003, 03:12
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
fasm9 wrote:
fasm uses linker? is it 'val'?

Well if you tell the formatter to output object files instead of executable then you'll need a linker.

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 04 Aug 2003, 11:50
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
then i need linker when i try to make OS?

--
regards
Post 04 Aug 2003, 22:13
View user's profile Send private message Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
You don't ned to if you do it all in asm, but there are those who write parts of their OS in C/C++, and they need the jLoc util to fix the obect files (I'm not fully clear on how or why, but iirc it has something to to with where sections end up in the output).
My (dead) toy OS is in pure asm, asm compiled to plain binary (I just love that feature of fasm), no object file - thus no need for any linker/locator. So to quickly answer you question: No you don't need any linker if you write you OS in asm.
I think jLoc's page has some nice description of how to use it (I think I've seen it mentioned at Bonafide's site)

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 05 Aug 2003, 11:05
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
fasm9



Joined: 19 Jun 2003
Posts: 439
it seems still unclear to understand it.

MenuetOS use linker?
what feature fasm can't, but linker can?

--
i want C/C++/C#'s speciality in fasm, that's why fasm is not overkill.
regards
Post 06 Aug 2003, 06:57
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
fasm9 wrote:
it seems still unclear to understand it.

MenuetOS use linker?
what feature fasm can't, but linker can?

--
i want C/C++/C#'s speciality in fasm, that's why fasm is not overkill.
regards


Actually with FASM you don't need linker at all. MenuetOS don't use any linker. So, at first time you don't need linker to build OS. At second, IMHO link process is not needed nor usefull for assembly programming at all Wink But this is not common opinion. Very Happy
Post 06 Aug 2003, 07:05
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


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.