flat assembler
Message board for the users of flat assembler.

Index > DOS > Fatal:out of memory

Author
Thread Post new topic Reply to topic
swaroopa87



Joined: 09 Jul 2007
Posts: 1
swaroopa87
When i try to link my program or rather create an exe file after the obj file has been created(using TURBO assembler) using the followin command "tlink progname" i get the message "Fatal:Out of memory"
Due to this the exe file is not created and hence i cannot run my program
What is the cause for this error??
pls reply to this post if u know the solution...
thank uSmile
Post 09 Jul 2007, 16:31
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> try to link my program or rather create an exe file after the
> obj file has been created(using TURBO assembler)

> hence i cannot run my program

> pls reply to this post if u know the solution...

1. This is FASM forum, not "TURBO" forum Idea

2. You provided almost no info: DOS version, TURBO version, type / size of project ("Hello world" ?), do other projects work for you, ... Confused

3. The best solution is to throw away the "TURBO" and use FASM instead:

- - FASM does NOT have this problem, it doesn't need to link at all Laughing
- - TURBO is abandoned, obsolete, dead and not even free
- - FASM has a support forum, TURBO seems to lack such Shocked

_________________
Bug Nr.: 12345

Title: Hello World program compiles to 100 KB !!!

Status: Closed: NOT a Bug
Post 09 Jul 2007, 21:44
View user's profile Send private message Reply with quote
Japheth



Joined: 26 Oct 2004
Posts: 151
Japheth
@NTOSKRNL: please don't be so rigid to a newbie! The OP's issue is a TLINK issue, not a TASM issue, and if FASM wouldn't have the severe flaw of being unable to output OMF object modules, the question would fit very well into this forum. Furthermore, you cannot know that "throwing away the TURBO" is the best solution. It might be a large program, which then has to be rewritten to FASM syntax, and I'm pretty sure there exist better options.

@swaroopa87: please provide more details:

- OS where you run TLINK
- how large are the object modules to link
- does TLINK work for small test programs?

TLINK is an OMF linker, and one option is to replace it by Digital Mars OPTLINK.
Post 10 Jul 2007, 07:46
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> please don't be so rigid to a newbie

Sure. One should be rude neither to a newbie nor anyone else ... OTOH my post wasn't intended to be rude, and, you had to confirm my point 2 Laughing
Post 10 Jul 2007, 21:37
View user's profile Send private message Reply with quote
Japheth



Joined: 26 Oct 2004
Posts: 151
Japheth
> OTOH my post wasn't intended to be rude, and, you had to confirm my point 2 Laughing

AFAIK "rigid" is not the same as "rude". One difference is: one can be rigid and polite at the same time, while it is impossible - or at least difficult - to be rude and polite at the same time.

Yes, your point 2. is good, but a success rate of 33% can be much improved. Smile
Post 11 Jul 2007, 09:09
View user's profile Send private message Visit poster's website Reply with quote
Furby



Joined: 01 May 2007
Posts: 74
Location: Kraków, Poland
Furby
LOL i thought that the topic is "Out Of Money" :X All day in work is baaaad
Post 12 Jul 2007, 19:21
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
Free OMF linkers? ALink, VALX, WarpLink, or QLINK ... one of 'em should work well for you. (Not saying TLINK is bad, but it's old.)

links to WarpLink, QLINK, ALink
CC386 homepage (contains newer VALX than stand-alone .ZIP)
Post 12 Jul 2007, 19:23
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> point 2. is good, but a success rate of 33% can be much improved

Much: 33% -> 33+1/3% Laughing

I definitely hope that topic starter comes back and his issue will get solved ...

if he is a newbie and the project is a 16-bit RM "Hello world" then my point 3. is very appropriate Laughing

if he is not a newbie and the project is large (DOS/32A ???), then my point 3 is a bit less accessible (but well possible, still) ... hoping for a better linker (the best one is still NONE , anyway) and MA$M and TASM IDEAL syntax support in YASM Wink
Post 12 Jul 2007, 22:21
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
You can always try Lazy Assembler (LZASM), which is free and supports (only) TASM Ideal mode. It outputs OBJ / OMF format.
Post 12 Jul 2007, 22:49
View user's profile Send private message Visit poster's website Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> try Lazy Assembler (LZASM), which is free and supports (only) TASM Ideal mode. It outputs OBJ / OMF format

Is it mature and >=99% compatible ? Can it compile DOS/32A ?
Post 12 Jul 2007, 23:03
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
I wouldn't know, but it seems pretty robust, at least. Much better than nothing. The one difference I know of is that everything is case sensitive.
Post 12 Jul 2007, 23:37
View user's profile Send private message Visit poster's website 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-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.