Return to Support Page
 homesearchagentssupportask xilinxmap

Answers Database


M1.3/A1.4: UNIX environment setup for SunOS, Solaris, and HP using C-shell (csh) or KornShell (ksh).


Record #2499

Product Family:  Software

Product Line:  FPGA Core

Problem Title:
M1.3/A1.4: UNIX environment setup for SunOS, Solaris, and HP using
C-shell (csh) or KornShell (ksh).



Problem Description:
Keywords: UNIX, environment, setups, variables, SunOS, Solaris,
	  HPUX, csh, ksh, C shell, KornShell

Urgency: Standard

General Description: In order to properly run the Xilinx M1 tools, the
correct environment needs to be setup on your system.  These
environment commands may be placed in your user setup files
(.cshrc, .profile, etc.) or may be kept in a sperate file which
may be "sourced" upon demand when you need to envoke the
Xilinx toolset.

Setting up this environment is done in different ways depending
on your particular system.  These examples are meant to be
templates and need to be modified in order to properly
setup the environment on your particular system.  Please read
the installation chapter of the Quickstart Guide as well as
consult your local system administrator for details as to how
your system should be setup to run the Xilinx M1 tools.

Note: Each of these environment settings assumes the Dynatext
on-line documentation is installed in the same path as the
Xilinx install.  If the on-line documentation is installed
elsewhere, the $EBTRC need to point to the location of the
on-line documents.

This also assumes that all Xilinx M1 patches are installed in a sepaerte
directory.  If the patches are installed in the same directory as the
installed software or patches are not installed, remove all references
to $MYXILINX in the setup.


Solution 1:

# Solaris running C Shell (csh)

setenv XILINX </path/to/xilinx/install>
setenv MYXILINX </path/to/xilinx/patches>

set path = (. ${MYXILINX}/bin/sol ${XILINX}/bin/sol ${path})

if $?LD_LIBRARY_PATH then
     setenv LD_LIBRARY_PATH ${MYXILINX}/bin/sol:${XILINX}/bin/sol:${LD_LIBRARY_P
ATH}
else
     setenv LD_LIBRARY_PATH ${MYXILINX}/bin/sol:${XILINX}/bin/sol
endif

if $?LM_LICENSE_FILE then
     setenv LM_LICENSE_FILE </path/to/xilinx/license>:${LM_LICENSE_FILE}
else
     setenv LM_LICENSE_FILE </path/to/xilinx/license>
endif

setenv XKEYSYMDB ${XILINX}/bin/sol/XKeysymDB

setenv EBTRC ${XILINX}/bin/sun/ebtrc



Solution 2:

# SunOS running C Shell (csh)

setenv XILINX </path/to/xilinx/install>
setenv MYXILINX </path/to/xilinx/patches>

set path = (. ${MYXILINX}/bin/sun ${XILINX}/bin/sun ${path})

if $?LD_LIBRARY_PATH then
     setenv LD_LIBRARY_PATH ${MYXILINX}/bin/sun:${XILINX}/bin/sun:${LD_LIBRARY_P
ATH}
else
     setenv LD_LIBRARY_PATH ${MYXILINX}/bin/sun:${XILINX}/bin/sun
endif

if $?LM_LICENSE_FILE then
     setenv LM_LICENSE_FILE </path/to/xilinx/license/file>:${LM_LICENSE_FILE}
else
     setenv LM_LICENSE_FILE </path/to/xilinx/license/file>
endif

setenv XKEYSYMDB ${XILINX}/bin/sun/XKeysymDB

setenv EBTRC ${XILINX}/bin/sun/ebtrc



Solution 3:

# HPUX running C Shell (csh)

setenv XILINX </path/to/xilinx/install>
setenv MYXILINX </path/to/xilinx/patches>

set path = (. ${MYXILINX}/bin/hp ${XILINX}/bin/hp ${path})

if $?SHLIB_PATH then
     setenv SHLIB_PATH ${MYXILINX}/bin/hp:${XILINX}/bin/hp:${LD_LIBRARY_PATH}
else
     setenv SHLIB_PATH ${MYXILINX}/bin/hp:${XILINX}/bin/hp
endif

if $?LM_LICENSE_FILE then
     setenv LM_LICENSE_FILE </path/to/xilinx/license>:${LM_LICENSE_FILE}
else
     setenv LM_LICENSE_FILE </path/to/xilinx/license>
endif

setenv XKEYSYMDB ${XILINX}/bin/hp/XKeysymDB

setenv EBTRC ${XILINX}/bin/hp/ebtrc



Solution 4:

# Solaris running KornShell (ksh)

export XILINX="</path/to/xilinx/install>"
export MYXILINX="</path/to/xilinx/patches>"

export PATH="${MYXILINX}/bin/sol:${XILINX}/bin/sol:${PATH}"

export LD_LIBRARY_PATH="${MYXILINX}/bin/sol:${XILINX}/bin/sol:${LD_LIBRARY_PATH}
"

export LM_LICENSE_FILE="</path/to/xilinx/license>"

export XKEYSYMDB="${XILINX}/bin/sol/XKeysymDB"

export EBTRC="${XILINX}/bin/sol/ebtrc"



Solution 5:

# SunOS using KornShell (ksh)

export XILINX="</path/to/xilinx/install>"
export MYXILINX="</path/to/xilinx/patches>"

export PATH="${MYXILINX}/bin/sun:${XILINX}/bin/sun:${PATH}"

export LD_LIBRARY_PATH="${MYXILINX}/bin/sun:${XILINX}/bin/sun:${LD_LIBRARY_PATH}
"

export LM_LICENSE_FILE="</path/to/xilinx/license>"

export XKEYSYMDB="${XILINX}/bin/sun/XKeysymDB"

export EBTRC="${XILINX}/bin/sun/ebtrc"



Solution 6:

# HPUX running KornShell (ksh)

export XILINX="</path/to/xilinx/install>"
export MYXILINX="</path/to/xilinx/patches>"

export PATH="${MYXILINX}/bin/hp:${XILINX}/bin/hp:${PATH}"

export SHLIB_PATH="${MYXILINX}/bin/hp:${XILINX}/bin/hp:${SHLIB_PATH}"

export LM_LICENSE_FILE="</path/to/xilinx/license>"

export XKEYSYMDB="${XILINX}/bin/hp/XKeysymDB"

export EBTRC="${XILINX}/bin/hp/ebtrc"



End of Record #2499

For the latest news, design tips, and patch information on the Xilinx design environment, check out the Xilinx Expert Journals!

© 1998 Xilinx, Inc. All rights reserved
Trademarks and Patents