*BSD News Article 83760


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!news-peer.gsl.net!news.gsl.net!EU.net!main.Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.solaris,comp.unix.bsd.misc
Subject: Re: Solaris 2.6
Date: 28 Nov 1996 11:05:54 GMT
Organization: interface business GmbH, Dresden
Lines: 25
Distribution: inet
Message-ID: <57jrmi$pfd@innocence.interface-business.de>
References: <32986299.AC7@mail.esrin.esa.it> <57djlg$bks@agate.berkeley.edu>
  <57dkbq$bsr@panix2.panix.com> <casper.329abb76@mail.fwi.uva.nl>
  <57ej3a$7ij@panix2.panix.com> <casper.329ae8f2@mail.fwi.uva.nl>
  <57hq0l$3rp@anorak.utell.net>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.solaris:90699 comp.unix.bsd.misc:1615

brian@anorak.utell.net (Brian Somers) wrote:

> : What about old .o files?  Old dynamic libraries? Old archive libraries?
> :
> : How do you compile using those?
> : 
> 
> You can't compile old objects/libraries with new objects/libraries and
> expect to get a working binary at the end.  Think about it - your header
> files aren't the same !

You can, as long as your library comes with header files that are
self-contained.  (I.e., they leave things like off_t to the system
headers and don't use them.)

Libraries that are not self-contained are poorly written anyway, in
particular for the projected target market where the library is to be
taken ``as is'' without any chance of a recompilation.

There's always one hack more...

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j