help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-gsl] IRIX 6.5 installation help


From: Sung, Raymond CW
Subject: RE: [Help-gsl] IRIX 6.5 installation help
Date: Wed, 19 Sep 2007 14:21:02 +0100

Hi Eskandar,

Thank you very much for the information. GSL has compiled and installed
without any problems now.

Thanks again,

Ray.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Eskandar Ensafi
Sent: 18 September 2007 17:00
To: Sung, Raymond CW; address@hidden
Subject: RE: [Help-gsl] IRIX 6.5 installation help

Dear Ray,

It sounds to me that your login shell belongs to the C
Shell family (csh, tcsh, etc.) as opposed to the
Bourne shell family (sh, bash, ksh, zsh, etc.)  The
syntax "CC=cc ... ./configure ..." only works in
shells that understand Bourne shell syntax.  In a C
Shell, to the best of my recollection, you need to use
the setenv command to set the variables, and then run
configure.  There may be a more compact way to do the
following, but I can guarantee that this works:

  setenv CC cc
  setenv CFLAGS "-64"
  setenv LDFLAGS "-64"
  ./configure

Please note that there is one major difference between
these latter C Shell commands and the former Bourne
shell command: the latter changes the current shell's
environment, so a subsequent ./configure command will
inherit the same CC, CFLAGS and LDFLAGS values,
whereas the former temporarily changes the environment
for the commang being executed.  Therefore, you may
want to prevent your original C Shell environment from
being modified using one of the following methods: (1)
open a new shell, run the above commands, and exit;
(2) run the above commands from an executable script
file; or (3) unset the CC, CFLAGS and LDFLAGS
variables using unsetenv.

I hope this helps.

-Eskandar


--- "Sung, Raymond CW" <address@hidden> wrote:

> Yes Billo, I have a C++ compiler installed and I
> managed to compile
> another program successfully using it. For some
> reason, I get the "CC=cc
> command not found" message when I try to compile the
> GSL files.
> 
> Any further suggests would be greatly appreciated.
> 
> Thanks,
> 
> Ray.
> 
> -----Original Message-----
> From: address@hidden
>
[mailto:address@hidden
> On Behalf Of Bill
> Oliver
> Sent: 07 September 2007 14:08
> To: Sung, Raymond CW
> Cc: address@hidden
> Subject: Re: [Help-gsl] IRIX 6.5 installation help
> 
> On Fri, 7 Sep 2007, Sung, Raymond CW wrote:
> 
> > Dear GSL Users,
> >
> >
> >
> > I am trying to compile GSL1.9 on an SGI machine
> running IRIX 6.5.
> Since
> > I want to use the 64-bit libraries, I understand
> that I need to use
> the
> > following command to compile:
> >
> >
> >
> > CC=cc CFLAGS="-64" LDFLAGS="-64" ./configure
> >
> >
> >
> > However, I get an error message saying that "CC=cc
> command not found".
> > Can anyone help please?
> >
> >
> >
> > Thanks in advance,
> >
> >
> >
> > Ray.
> >
> 
> It's been awhile since I used an IRIX box, but as I
> remember, the
> compiler does not come installed by default.  Are
> you sure that
> this particular machine has the compiler on board?
> 
> billo
> 
> 
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
> 
> 
> _______________________________________________
> Help-gsl mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gsl
> 



       
________________________________________________________________________
____________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:
mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC


_______________________________________________
Help-gsl mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-gsl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]