1 # Set up a Cygwin enviornment to build eCos w/Quartus 8.1
5 # You may need to run dos2unix on some of the perl scripts in Quartus since
6 # Quartus ships with an aging Cygwin version
11 export NIOS_ECOS
=`pwd`/..
/..
/nios2ecos
/packages
13 if [ "`uname`" != "Linux" ]; then
16 # DANGER!!! here we need windows-like paths for compatibility.
17 export QUARTUS_ROOTDIR
=c
:/altera
/81/quartus
18 export SOPC_KIT_NIOS2
=c
:/altera
/81/nios2eds
19 export PERL5LIB
=/bin
:/cygdrive
/c
/altera
/81/quartus
/sopc_builder
/bin
/perl_lib
:/cygdrive
/c
/altera
/81/quartus
/sopc_builder
/bin
/europa
:/cygdrive
/c
/altera
/81/quartus
/sopc_builder
/bin
:
21 # generally place the altera stuff *LAST* in the path because it contains
22 # lots of obsolete stuff
23 export PATH
=$PATH:$NIOS_ECOS/hal
/nios
2/arch
/current
/host
24 export PATH
=$PATH:/cygdrive
/c
/altera
/81/quartus
/sopc_builder
/bin
25 export PATH
=$PATH:/cygdrive
/c
/altera
/81/quartus
/bin
26 export PATH
=$PATH:/cygdrive
/c
/altera
/81/nios2eds
/bin
/nios2-gnutools
/H-i686-pc-cygwin
/bin
31 export QUARTUS_ROOTDIR
=/opt
/altera9.0
/quartus
32 export SOPC_KIT_NIOS2
=/opt
/altera9.0
/nios2eds
33 export PERL5LIB
=/usr
/bin
:/opt
/altera9.0
/quartus
/sopc_builder
/bin
/perl_lib
:/opt
/altera9.0
/quartus
/sopc_builder
/bin
/europa
:/opt
/altera9.0
/quartus
/sopc_builder
/bin
35 # generally place the altera stuff *LAST* in the path because it contains
36 # lots of obsolete stuff
37 export PATH
=$PATH:$NIOS_ECOS/hal
/nios
2/arch
/current
/host
38 export PATH
=$PATH:/opt
/altera9.0
/quartus
/sopc_builder
/bin
39 export PATH
=$PATH:/opt
/altera9.0
/quartus
/bin
43 # set up a list of repositories. The NIOS_ECOS repository should be first.
44 # where a,b,c are cygwin paths to other eCos repositories.
45 # export ECOS_REPOSITORY=$NIOS_ECOS:a:b:c