-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path64dev.csh
executable file
·30 lines (25 loc) · 1.03 KB
/
64dev.csh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/csh
# $Id: 64dev.csh,v 1.2 2014/01/16 09:32:06 eha Exp eha $
# Created by Jim Diamond ([email protected]),
# Based on 32dev.sh, part of the Slamd64 Linux project (www.slamd64.com),
# Copyright (C) 2007 Frederick Emmott <[email protected]>
# Copyright (C) 2018 Ben Stern <[email protected]>
# Distributed under the GNU General Public License, version 2, as published
# by the Free Software Foundation.
setenv PATH "/usr/bin/64:/usr/lib/qt/bin:$PATH"
setenv CC "gcc" # This is actually the /usr/bin/64/gcc wrapper
setenv CXX "g++"
setenv FC "gfortran" # This is actually the /usr/bin/64/gfortran wrapper
setenv F77 "gfortran"
if ($?LD_LIBRARY_PATH == 1) then
setenv LD_LIBRARY_PATH "/lib:/usr/lib:$LD_LIBRARY_PATH"
else
setenv LD_LIBRARY_PATH "/lib:/usr/lib"
endif
if ($?PKG_CONFIG_PATH == 1) then
setenv PKG_CONFIG_PATH "/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
else
setenv PKG_CONFIG_PATH "/usr/lib/pkgconfig"
endif
if (-d /opt/kde3/lib/qt3) setenv QTDIR /opt/kde3/lib/qt3
if (-d /usr/lib/qt) setenv QT4DIR /usr/lib/qt