Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: Library
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 21 Topic 3882 of 3959
Post > Topic >>

Re: Library

by pete@[EMAIL PROTECTED] Apr 13, 2008 at 09:35 AM

In article  <PfSdnYil8MWpW5zVRVnyjwA@[EMAIL PROTECTED]
> donl@[EMAIL PROTECTED]
  writes:

> 
> "Stephen Quinn" <stevejqNO@[EMAIL PROTECTED]
> wrote in message 
> news:3rjMj.1188$ko5.98@[EMAIL PROTECTED]
> > Donald
> >
> >> How does Clipper S87 include the library during a compile? I need to 
> >> change some code in a library and have never needed to do this
before? 
> >> Guess I need an overview...
> >
> > If you modify a routine and include it before the library in your link

> > script then the new code should be used in your app.
> > Eg Blinker extract
> >    FILE XYZ.OBJ
> >    LIB LIB_CONTAINING_XYZ_OBJ.LIB
> >
> > -- 
> > CYA
> > Steve
> >
> 
> Thanks Steve
> (are you chained to your PC ? :-))

It appears that way as seen from the uk :-)  Obviously nobody 
sleeps "down under"...

> The file I refer to is called LIB_GEN.PRG - how do I generate the OBJ
file 
> from this?
> 
> Dona.ld.

Hi Donald,

Is LIB_GEN the source of the entire library?  If so, just **** 
the changes you need and compile it to a .obj using something 
like 

        clipper lib_gen -m

then relink your app moving 'lib_gen' from LIB to FILE, for 
example if before you had

        plink86 output app.exe FILE app,blah LIB lib_gen,clipper
use
        plink86 output app.exe FILE app,blah,lib_gen LIB clipper

Does that make sense? (I used to use plink86 rather than blinker 
but I believe the syntax is very similar.)

The alternative, if you want one and have LIB.EXE, is to use this 
latter to create lib_gen.lib from the .obj file created above. I 
forget the syntax for LIB.EXE but it's straightforward; doing it 
this way means that you would not need to alter your link script.

Hope that helps!

Pete
-- 
   "We have not inherited the earth from our ancestors,
    we have borrowed it from our descendants."
 




 21 Posts in Topic:
Library
"Donald Leask"   2008-04-13 09:58:20 
Re: Library
"Stephen Quinn"  2008-04-13 08:24:31 
Re: Library
"Donald Leask"   2008-04-13 10:37:02 
Re: Library
pete@[EMAIL PROTECTED]   2008-04-13 09:35:46 
Re: Library
"Donald Leask"   2008-04-13 18:02:45 
Re: Library
"Stephen Quinn"  2008-04-13 16:57:58 
Re: Library
"Donald Leask"   2008-04-16 19:51:42 
Re: Library
"Stephen Quinn"  2008-04-17 01:32:37 
Re: Library
"Stephen Quinn"  2008-04-17 01:46:23 
Re: Library
"Donald Leask"   2008-04-17 15:25:02 
Re: Library
klas.engwall@[EMAIL PROTE  2008-04-17 15:34:10 
Re: Library
"Donald Leask"   2008-04-17 18:00:18 
Re: Library
klas.engwall@[EMAIL PROTE  2008-04-17 17:00:45 
Re: Library
"Donald Leask"   2008-04-18 13:22:27 
Re: Library
klas.engwall@[EMAIL PROTE  2008-04-18 23:04:21 
Re: Library
"Donald Leask"   2008-04-19 08:49:34 
Re: Library
"Stephen Quinn"  2008-04-18 03:44:12 
Re: Library
pete@[EMAIL PROTECTED]   2008-04-17 04:50:02 
Re: Library
"Donald Leask"   2008-04-18 12:52:26 
Re: Library
"Donald Leask"   2008-04-18 13:09:10 
Re: Library
pete@[EMAIL PROTECTED]   2008-04-19 11:39:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 2:56:57 CDT 2008.