Brian Furtaw (brian++at++sys-brian3.clubfed.sgi.com)
Mon, 17 May 1999 14:52:21 -0400
In /usr/include/make/commondefs
#
# Loader flags, composed of library (-l's) and option parts, with
# the libraries appearing last. Both of these are divided into variable,=
# local, and global parts. The composition of LDFLAGS is done in the
# other "direction" from CFLAGS so that all the -L's, which are part of
# LDOPTS, appear before any of the -l's, which are part of LDLIBS.
# Another benefit of segregating the libraries from the remaining of the
# loader options is that the libraries alone can easily be given to
# another program, e.g., lint.
#
LDLIBS is made up of....
LDLIBS =3D $(VLDLIBS) $(LLDLIBS) $(GLDLIBS)
I would say add your libraries like this....
LLDOPTS +=3D -L<AscBird_dir>
LLDLIBS +=3D -lAscBird
Brian
On May 17, 11:45am, Geoff Levner wrote:
> Subject: Re: Linker problems in Performer
>
> [ plain text
> Encoded with "quoted-printable" ] :
Torbj=F6rn H=E5kansson wrote:
> >
> > (snip)
> > Where shall I include my lib - libAscBird.a file in the three
files(Makefile,pfmakedefs,pfmakerules)
> > (snip)
>
> The makefiles supplied with Performer don't give you an elegant way to
> add your own libraries. The simplest thing to do is to edit
> pfmakedefs: add "-Ldir" (where dir is the directory containing your
> library) to the variables DSOLINKS, DDSOLINKS, etc., and add "-lAscBird=
"
> to the variables SYSTEM_IRISGL and SYSTEM_OPENGL.
>
> --
> Geoff Levner -- g.levner++at++acsys.it
> ACS Studio, via Aurelia 58, 00165 Roma, Italy
> tel. +39-063936331, fax +39-0639363317
> -----------------------------------------------------------------------=
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Geoff Levner
-- =
----oOOo---- ----oOOo---- ----oOOo---- ----oOOo----
Brian Furtaw (brian++at++sgi.com) =
Graphics Guru Office:(301)572-3293 Fax: (301)872-3293
12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision
=
Silver Spring, Maryland 20904 Optimizer/React/PCI Device Drivers
--PART-BOUNDARY=.19905170655.ZM2722.clubfed.sgi.com--
This archive was generated by hypermail 2.0b2 on Mon May 17 1999 - 12:02:10 PDT