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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i compile this code into a executable

Status
Not open for further replies.

ts24

Technical User
Nov 1, 2006
1
0
0
NL
for a test i have to run old code. but i do not know how i have to declare the makefile and handle blinker.
This is the linkfile i found:
BLI INC OFF #INCREMENTAL LINK UIT
BLI CACHE EMS 50%, 512 # SWAP CACHE MEM
BLI CACHE XMS 50%, 512
BLI EXE CLIPPER F91
BLINKER OVERLAY OPSIZE 30
BLINKER OVERLAY PAGEFRAME ON
OUTPUT FINANCE # NAME OF .EXE-FILE

FI testa

BEGINAREA
SECTION INTO FINANCE
LIB DBFNSX,CL5SWAP,EXTEND,POORT,CL5XTEND
FI testb

#OBJECTMODULES VANUIT C-SOURCE
FI MOUSE,NOBLINK,NSX_NTX

ENDAREA
SEARCH c:\CLIPPER5\LIB\BLXCLP50

This is the makefile i found:
x : test.obj

test.obj : test.prg
clipper test.prg /A /V /N /B /TTEMP c:\clipper5\include

The source file is named: test.prg

How do i compile all this to a executable?

Thanks for helping me.
Ronald
 
The prg file called test.prg will not make the file testa in the linker script without some smoozing. Are you sure you have the correct compiler script and linker script?

David.
 
If your computer is properly configured for Clipper and Blinker you should be able at the DOS prompt to type CL TEST.PRG and it will compile and link the program into an executable file called TEST.EXE, assuming you don't need any supporting object files or libraries.

David.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top