Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run RTLink?

Status
Not open for further replies.

Zbi

Programmer
Aug 26, 2002
9
0
0
US
I would like to deal wit the Internal Error 5333. Currently, I use BLinker. So, I want to try RTLink. I am unable to run the rtlink because of insufficient syntax knowledge. Can you please advice me, how to run RTLink? The manual description is

FREEFORMAT syntax:

RTLINK [FILE <objFile list> [OUTPUT <outputFile>]
[LIBRARY [<libFile list>] [<linkOption list>]] | [@<scriptFile>]

POSITIONAL syntax:

RTLINK [<objFile list>, [<outputFile>], [<mapFile>],
[<libFile list>] [<linkOption list>]] | [@<scriptFile>][;]

If used without arguments, .RTLink enters prompt mode.

<objFile list> is a list of object (.OBJ) files to link.

<outputFile> is the name of the file (.EXE or .PLL/.PLT) to be generated.

<mapFile> is the name of a map (.MAP) file to generate.

<libFile list> is the list of library (.LIB) files to search.

<linkOption list> is a list one or more linker options described below.

<scriptFile> is the name of a linker script (.lnk) file.

But I always crash at “Input Parsing Error”. A would appreciate a particular example that runs from a prompt line and an example of contents of objFile list.
 
zbi,
I use RTLink, and I make the Program Name (prg) the same as the Object name (obj) as well as the executable name (exe)

Example, my program is rjcoats.prg, so my executable will be rjcoats.exe when done.

Here is my simple syntax. I use a library called SUP3550.Lib, i'll use it in my example.

CLIPPER RJCOATS /W/N
RTLINK FI RJCOATS LIB SUP3550

done! :D
Good Luck
Rj Rj Coats
Computer Programmer/Technician
Hot Springs, AR.
 
Forgot one thing, make sure you have a PATH set for where your LIBS are, or your lib should be in the same directory as your program file.
Rj Rj Coats
Computer Programmer/Technician
Hot Springs, AR.
 
RJ,

thank you. Now it works. However the Internal Error 5333 remains.

Anyway, thank you very much for you hint.

Zbi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top