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 17 of 21 Topic 3882 of 3959
Post > Topic >>

Re: Library

by "Stephen Quinn" <stevejqNO@[EMAIL PROTECTED] > Apr 18, 2008 at 03:44 AM

Donald

I should have pointed out that the extension is optional and will default
to .OBJ<g>

The following are the same
    FILE LIB_GEN
    FILE LIB_GEN.OBJ
as are
    LIB LIB_GEN
    LIB LIB_GEN.LIB

Don't know what happens if you have a .OBJ and no .LIB file and do

    LIB LIB_GEN
    - probably get an error from the linker about not finding LIB_GEN.LIB

The following means (ie the lib extension using the FILE syntax) the
everything in LIB is included into the .exe whether 
or not the functions are used.

    FILE LIB_GEN.LIB

The following means only those functions called/used in the app will be
linked into the app.

    LIB LIB_GEN.LIB


I believe I've seen this explained in the Blinker docs, if you want a more
detailed/professional explanation.

IMO using LIB_ in the name of a unit (.prg) is/can be very misleading.

-- 
CYA
Steve
 




 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 Fri Jul 25 21:40:13 CDT 2008.