*BSD News Article 96125


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!news.mathworks.com!howland.erols.net!newsfeed.internetmci.com!demos!news.uni-stuttgart.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!gtnduss1.du.gtn.com!www.punkt.de!ardbeg.komma.de!ardbeg.komma.de!pmh
From: pmh@ardbeg.komma.de (Patrick M. Hausen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Q: how to compile 2.1 binary on 2.2
Date: 24 May 1997 14:04:17 +0200
Organization: Patrick M. Hausen - Private Site!
Lines: 17
Message-ID: <pmh.864475260@ardbeg.komma.de>
NNTP-Posting-Host: localhost
X-Newsreader: NN version 6.5.0 #1 (NOV)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41580

Hi all!

How do I compile a binary (statically or dynamically linked)
for an earlier version of FreeBSD on my 2.2 system, i.e. for
2.1 or even 1.1?

I had a look at the manpages for cc and ld, but didn't find a clue?
The compatibility libraries are in /usr/lib/compat. Do I have
to specify each library individually? An then, won't the binary
have the wrong path compiled in for the target system?

Thanks,
Patrick
-- 
Patrick M. Hausen   Gerwigstr. 11   76131 Karlsruhe   pmh@komma.de
   "Living in the now, don't think of what's ahead
    - today's the tomorrow of all our yesterdays"   (Rodney Cordner)