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

Compile Problem?

Status
Not open for further replies.

jajiyiko

Programmer
Mar 18, 2002
33
TR
Hi!

I have a problem

I can not compile my applicatin
I have 150 application files ( prg )

Like this

Clipper myprog
blinker file myprog lib ..
.....
error
too many symbols
Can you help me?
Can you write me a link or batch file for me?

thanks
 
You need to devide your program into overlay files.
This way the linker will create .OVL files that will be used only when called during the execution of your program and it will reduce the exe size.

I never used blinker, i used rtlink. I would assume blinker can do the same (create ovl files).

look in your help manual and try to find (creating overlay or ovl or *.ovl) file!

Ali Koumaiha
TeknoSoft Inc
Farmington Hills, Michigan
 
Hi,

See below for a script for blinker (we'll call it MYAPP.LK5 for the sake of argument).

Code:
BLINKER EXECUTABLE MYAPP F225;R100;E500;
BLINKER INCREMENTAL OFF
BLINKER EXECUTABLE EXTENDED
# output file
OUTPUT \apps\MYAPP
OVERLAY CODE,$CONSTANTS
# burn in the clipper variables...
# core part in memory
FI obj\MYPROG1

#Assume all clipper stuff is in C:\LANG\CL50...
   search C:\LANG\cl50\lib\BLXCLP50
   LIB C:\LANG\cl50\lib\clipper
   search C:\LANG\cl50\lib\EXTEND
   search C:\LANG\cl50\lib\dbfntx
   search C:\LANG\cl50\lib\terminal

BEGINAREA
        SECTION FI OBJ\MYPROG2
        SECTION FI OBJ\MYPROG3        
        SECTION FI OBJ\MYPROG...
...
...
        SECTION FI OBJ\MYPROG148
        SECTION FI OBJ\MYPROG149
        SECTION FI OBJ\MYPROG150

ENDAREA

To use something like this you need to compile each of your prg files using syntax like this:
Code:
clipper MyProg1 -m -oOBJ\MyProg1

This will put the object files in the OBJ folder (keeps the dev folder tidy)

To invoke Blinker using the MyApp.lk5 script:

Code:
Blinker @MyApp.lk5

Does that help?




Regards

Griff
Keep [Smile]ing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top