delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/21/17:19:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <392852CC.69644372@veritas.com>
Date: Sun, 21 May 2000 14:19:08 -0700
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Alvaro Fernandez <alvaro AT rice DOT edu>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Newbie question - setting a path
References: <3927456E DOT 2FE8DD4A AT rice DOT edu>

Alvaro Fernandez wrote:
> 
> I have looked through the FAQ but still can't find the answer to this
> question, so here goes: I am trying to compile some code using the bash
> shell. The compiler (absoft f90) complains it can't find a library file.
> The file is certainly there, just in a directory not in the path env.
> variable. I use UNIx at school, but I guess my setup is different; I
> tried to set PATH to that directory like this:
> 
> set path /d/Absoft60/LIB/
> 
> where the path is d:\Absoft60\LIB, but nothing happened. The path var.
> is unchanged. What am I doing wrong?
> 
> Thanks!
> 
> Alvaro
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

Alvaro,

You will need to read the documentation for bash to get a handle on how
it works with environment variables.  It is similar to the original
Bourne shell and very similar to the Korn shell.

The syntax you are using above is C shell and will not work in the
sh/ksh/bash shells.  Their syntax follows the general form:

	VAR_NAME=var_value # note, NO spaces around the '=' sign (unless you
quote them)

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019