RE: XForms: Newbie question

Sexton, Veronica (sextonv@DOIMEX1.SILL.ARMY.MIL)
Tue, 4 May 1999 16:49:28 -0500

# To subscribers of the xforms list from "Sexton, Veronica" <sextonv@DOIMEX1.SILL.ARMY.MIL> :

Yes, you can install XForms in a personal directory. In your makefile, or
when you compile, you need to tell it where to find the library. There are
at least a couple of ways to do this:
You can put "-L/your-path-here -lforms" or you can put
"your-path-here/libforms.a" (this works best if you want to statically link
the library, the first option can be used for dynamic or static, depending
on your compile options.)

So, if you have your library in /home/oliver/xforms/FORMS, and you want to
compile helloworld.c, using cc, you would have a line something like:
cc -L/home/oliver/xforms/FORMS -lforms helloworld.c

or, using the second option, you would have something like:
cc /home/oliver/xforms/FORMS/libforms.a helloworld.c

It looks similar when in your makefile.

I hope this helps!

> -----Original Message-----
> From: Olivier C Heyard [SMTP:och@csd.abdn.ac.uk]
> Sent: Tuesday, May 04, 1999 2:34 PM
> To: xforms@bob.usuf2.usuhs.mil
> Subject: XForms: Newbie question
>
> # To subscribers of the xforms list from Olivier C Heyard
> <och@csd.abdn.ac.uk> :
>
> I would like to use Xforms (SGI 5.3) on an INDY workstation.
> Unfortunately, I have no rights to copy any of the library,
> header ... files into the appropriate directories.
>
> Is it possible to keep them in my personal directory (the one
> which contains my C files) and compile the whole thing there.
>
> If yes, could you please tell me *exactly* how I should compile
> (parameters of cc) those C files, or tell me the content of
> my makefile.
>
> Any answer greatly appreciated
> Oliver
>
> _________________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuhs.mil or see
> http://bob.usuhs.mil/mailserv/xforms.html
> XForms Home Page: http://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/