News:

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

Help with Gonothing

Started by Fadi, July 08, 2005, 10:49:08 PM

Previous topic - Next topic

Fadi

Hi All,

I am trying to run my first Gonothing program and keep getting this message
"GoAsm is not recognised as an internal or external command, operable program or batch file."

Thanks
Fadi


James Ladd

it appears as though the extension and therefore the file type is corrupt.
I suggest downloading and installing again.

donkey

Make sure that you specify the path to GoAsm or include it in the path environment variable. This looks like it cannot find GoAsm.EXE, generally that just indicates that the shell cannot find the executable. You can specify the path as follows


C:\GoAsm\GoAsm.EXE "donothing.asm"
C:\GoAsm\GoLink.EXE /entry Start  "donothing.obj"
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

Fadi

sorted,

I have created files as:
in C\: there is a folder called "prog"
and in "prog" folder there are: "gonothing.bat","nothing.asm","nothing.obj", and  "GoAsm",Golink" and inside GoAsm,Golink folders GoAsm.exe and Golink.exe.
so I copied GoAsm.exe and Golink.exe to where gonothing program is and now is running.
As I understood I can specify where Golink.exe and GoAsm.exe should be running from in the gonothing.Bat is that right ?
as "C:\prog\GoAsm\GoAsm" and the same for GoLink is that ok ?

Thanks

Infro_X

Here is what you should do.

Create a folder called GoAsm where ever you want it. Ex: C:\Programming\GoAsm
Within that folder create four folders. BIN,IncludeA,IncludeW,Macros.
Put GoAsm and everything you got from GoAsm.zip into the BIN folder
Do the same for GoBug, GoLink, and GoRC if you have them.
Then place the ASCII include files in the IncludeA, and the Unicode/widechar include files in the IncludeW folers.
Then place Donkey's and whoever else Macros you make/get into the Macros folder.

After all that is done, Create the following batch file

C:\[whatever]\GoAsm\BIN\GoAsm.exe %1.asm
C:\[whatever]\GoAsm\BIN\GoRC.exe %1.rc
C:\[whatever]\GoAsm\BIN\GoLink.exe /entry Start %1.obj %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %20
C:\[whatever]\GoAsm\BIN\GoLink.exe /entry Start %1.obj %1.res %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16 %17 %18 %19 %20


then do something like this
gobuild.bat gotest kernel32.dll user32.dll comctrl32.dll comdlg32.dll advapi32.dll  yada yada yada.

or, just put GoAsm into root, C:\GoAsm, all the Binaries into a BIN folder, all the includes into respective include folders, all .asm into macro folder, then use RadASM.
<- likes radasm