INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

How do i compile this code into a executable

How do i compile this code into a executable

(OP)
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

RE: How do i compile this code into a executable

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.

RE: How do i compile this code into a executable

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close