🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by & Garrett Mon, 14 Sep 1992 19:43
Re: CFLAGS directives get hardwired?
#1032
Author: & Garrett
Date: Mon, 14 Sep 1992 19:43
28 lines
1755 bytes
Thanks to everybody who responded, especially Jutta Degener who turned me  
on to the LDPATH environment variable.  This is a workably solution.   
However, while pursuing this approach I also came across the following,  
taken from the _SunOS_ man pages under the -L option for ld:
	       When building a program
               in which one or more objects are loaded when -Bdynamic
               is in effect, those directories specified by -L options
               will be remembered for use at execution time.  This
               permits the construction of software that uses shared
               objects as libraries not residing in the standard
               locations and avoids requiring the specification of the
               environment variable in order to execute such software.

Perfect!  This is an even cleaner solution.  But in the same place in the  
_NeXT_ man pages all we get is:
         Add dir to the list of directories in which libraries
          are searched for.  Directories specified with -L are
          searched before the standard directories.

And indeed it doesn't work on the NeXT: the extra paths aren't remembered  
at execute time.

Is there a way to accomplish this?

Thanks again,

Colin Garrett
NeXTMail: colin@delphi.bsd.uchicago.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads