News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Newbi problem

Started by srod, December 20, 2005, 01:50:59 AM

Previous topic - Next topic

srod

Hi,

just beginning with assembly programming and have successfully compiled a few example progs with GoAsm.

Now trying to use RadAsm. I can get it to assemble an .obj file no probs, but when I try a full build it breaks down at the link stage with the following error:

C:\Program Files\GoAsm\GoAsm.EXE "C:\Program Files\RadAsm\GoAsm\Projects\test.asm"

GoAsm.Exe Version 0.53- Copyright Jeremy Gordon 2001/5 - JG@JGnet.co.uk
Output file: C:\Program
Files\RadAsm\GoAsm\Projects\test.obj
C:\Program Files\GoAsm\GoLink.EXE @C:\Program Files\GoAsm\GFL.txt /entry Start  "C:\Program Files\RadAsm\GoAsm\Projects\test.obj"

GoLink.Exe Version 0.25.4 - Copyright Jeremy Gordon 2002/4 - JG@JGnet.co.uk

Error!
Could not open command file
Output file not made

Make error(s) occured.
Total compile time 330 ms


Anything to do with "GFL.txt" perhaps? I can't find any such file?

Any ideas?

Thanks in advance.

zooba

It may require short path names or quotation marks around the command file:

C:\Program Files\GoAsm\GoLink.EXE @"C:\Program Files\GoAsm\GFL.txt" /entry Start  "C:\Program Files\RadAsm\GoAsm\Projects\test.obj"

or

C:\Program Files\GoAsm\GoLink.EXE @C:\Progra~1\GoAsm\GFL.txt /entry Start  "C:\Program Files\RadAsm\GoAsm\Projects\test.obj"

srod

Thanks for the reply zooba. Have just been hacking around and have got it working.

Seemed to be a combination of problems, not the least of which was the 'command file' GFL.txt. I just created a text file and with some trial and error decided it should contain the names of the files to link with as I could see nowhere else where any files were being linked! Is there anywhere I can download the 'definitive' command file here?

Also, had a problem with the 'Start' label. As I say, I'm new to assembly. Does there have to be such a label in my source code for it to compile okay? Uhm, just tried removing the label - have answered that question!

I'm gonna enjoy this!




1rDirEctoALgran0

1) I think you want an example of "GFL.TXT".
See in the attached file. You can rename "IMPORTS.TXT" in "GFL.TXT".

2) You can use another entry point if you specify it in the GoLink command line by "/ENTRY LabelOfYourChoice"

Regards.

Patrick


[attachment deleted by admin]

srod

Thanks Patrick, that's just what I was after.