Software Architecture & C# Programming Projects for $3000 - $5000. I have source code for a DOS Clipper 87 program using Flipper graphics. Convert clipper summer programs window based program, migrate small business server. WOW, someone who's still using summer '87! I did use Clipper 5.2e years ago, and had a little exposure to Summer '87. I think you pass the -b parameter to create debug info: clipper main.prg -l -m -b and to activate the debugger I think it's CLD main.exe I think this was how to do it with 5.2e, might be same/similar to Summer '87.
![]()
Although it appears to have roots in a dBase to C translation system from the 80s called dBx, X2C is an to compiler originally shipped as a commercial product in 1992 by a company called Desktop Ai and was initially shipped as executables for DOS, OS/2 and VMS but later added support for Linux although that is text mode only, and dropped VMS executables at the same time although the possibility remained open to buy the sources for users of VMS and Unix to compile the program themselves. X2C creates executable programs from Xbase source by converting Xbase source into C and then compiling, and linking with included Xbase function libraries, in this respect it behaves like the much later Clip, and systems.
Hello, I'm not sure what you would like me to post but the code in the bat file has:clipper @lbrlw -lclipper main.prg -l -mclipper index.prg -l -mclipper rept.prg -m -l -bclipper acct.prg -m -lclipper lws.prg -m -lclipper list.prg -m -lclipper regs.prg -m -lplink86 @lbrlwIt is named go.bat.Rept.prg is the actual.prg I would like to debug. The other thing I don't understand is that they have a program named lbrlw.prg and the.exe is named lbrlw.exe. I'm not sure what the first line.clipper @lbrlw -l means. I'm assuming that is the program.The link file is named lbrlw.exe.Thanks!
To start with remove the -l switch from each line, that removes line numbers from the object code which you need to debug. There's probably a file named lbrlw.clp (script file) which contains a list of source file names to compile. Add the -b switch to all the lines:clipper @lbrlw -bclipper main.prg -b -mclipper index.prg -b -mclipper rept.prg -m -bclipper acct.prg -m -bclipper lws.prg -m -bclipper list.prg -m -bclipper regs.prg -m -bThe reason the exe is named lbrlw.exe is because in the link file it is being instructed to do so.The line plink86 @lbrlw is telling plink86 that the name of the link file is lbrlw.Is there a file named lbrlw.lnk? If there is post the contents, because you may need to add debug.obj into the list of files to link.Or you can try adding it yourself, open the lbrlw.lnk file and look for a section that starts with FI.
![]() ![]()
After this should be a list of file names, you need to append DEBUG.eg. FI file1,file2,DEBUG.I think this is how it works, it was a long time ago that I used Clipper - and even then I didn't really use Summer 87/plink86 much.
Thanks!Wow, I thought I had.lnk files in my directory but I do not. I'm thinking of.lib files. Big difference. Everything compiles just fine in Summer87 but I can't find a way to debug but I messed around and converted this system to Harbour which compiled fine and I could debug but I had quite a few problems while using the compiled system. It seemed that quite a few functions and some other things were missing and I couldn't find where the programmer (who left years ago) had stored these.or he may have even taken them with him.
So.I went back to the Summer87 stuff where everything was comfortable.When I run my go.bat file it says 'Invalid Option' for -b. I tried /b and it said 'Invalid Parameter'.Could my problem be that I don't have any link files? But the system would still compile ok? Link files are not required and the program will compile fine without them.
They're used for managing builds of systems with lots of source files. If you type just 'clipper' on the command line, what switches/parameters are available? I was sure -b was for debug info. As there's no link file you'll have to include debug.obj from the command line. I would try with a smaller project first so we can see if it works.create a file called test.prg that has one function which just prints hello to the screen (@10,10 say 'hello'). Also put an ALTD in there:ALTD@10,10 say 'hello'save the filetype 'clipper' without any parameters on the command line to see what the switches are and note the one used to create debug info (if there is one).then on the command line type 'clipper test.prg' followed by the switch for debug infoIf this went OK you'll see a file called test.objnow type plink86 fi test.obj,debug.objIf that throws an error try typing 'plink86 fi test.obj,debug.obj LIB CLIPPER.LIB,EXTEND.LIB'if this worked OK you'll now have a test.exe.
On the command line type 'CLD test.exe'. From what I remember, CLD is the debugger and with this method the debugger launches your application. If it doesn't recognise CLD, just type 'test.exe'.
Hello, when I typed Clipper at the command line, I got this:The Clipper Compiler, Summer '87Copyright (c) Nantucket Corp 1985-1987. All Rights Reserved.Microsoft C Runtime Library Routines,Copyright (c) Microsoft Corp 1984-1987. All Rights Reserved.Richard McConnell & Brian Russell, Sr.
VPKevin Shepherd Dennis DiasRick Spence David DodsonJon P. Rognerud Fred Hooptions:-l (no ine numbers)-m (compile one odule only)-o (bject file drive and/or path)-p (ause for disk change)-q (uiet)-s (yntax check only)-v (ariables are assumed M-)@list.clp (list of files to compile)Aclipper a:main.prg -p -ob:Cclipper @list.clp -l -qWhen I type plink86 fi test.obj,debug.obj a menu appears (which looks like a debugging menu) that allows me to 'Go', 'Go Animation', 'Go Key', 'Single Step', etc.Selecting any of these shows.' Now, when I try this with my application, it doesn't work. I'm going to play around with this and try some different things and see what I get now that i see that this works with the test.exe.Thanks!
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |