PandA on Ubuntu

This is an ongoing list of packages required to compile crosstools and PandA under Ubuntu 11.04 (launching “sudo apt-get install” is enough to install them)

  • autoconf
  • automake
  • binutils-dev
  • bison
  • doxygen
  • flex
  • g++
  • gcc-4.5
  • gcc-4.5-multilib
  • gcc-4.5-plugin-dev
  • gfortran
  • gperf
  • graphviz
  • libboost-all-dev
  • libc6-dev
  • libc6-dev-i386 (only on 64-bit versions of ubuntu)
  • libfplll-dev
  • libgsl0-dev
  • libmpfi-dev
  • libmpfr-dev
  • libmpc-dev
  • libtool
  • libxml2-dev
  • make
  • patch
  • subversion

Ubuntu 11.10 checks

Ubuntu 11.10 may discard this package during the update from 11.04 version:

  • gcc-4.5-multilib

Xilinx hacks

There are some problems with Xilinx 13.2 and Ubuntu distribution (checked with Ubuntu 11.04 and Ubuntu 11.10). They can be fixed by adding the following line to /opt/Xilinx/13.2/ISE_DS/settings64.sh in case of a 64bits Ubuntu distribution:

export LD_PRELOAD=$LD_PRELOAD:/opt/Xilinx/13.2/ISE_DS/ISE/lib/lin64/libAntlr.so:/opt/Xilinx/13.2/ISE_DS/ISE/lib/lin64/libstlport.so.5.1:/opt/Xilinx/13.2/ISE_DS/ISE/lib/lin64/libboost_serialization-gcc41-mt-p-1_38.so.1.38.0

or the following line to /opt/Xilinx/13.2/ISE_DS/settings32.sh in case of a 32bits Ubuntu distribution:

export LD_PRELOAD=$LD_PRELOAD:/opt/Xilinx/13.2/ISE_DS/ISE/lib/lin/libAntlr.so:/opt/Xilinx/13.2/ISE_DS/ISE/lib/lin/libstlport.so.5.1:/opt/Xilinx/13.2/ISE_DS/ISE/lib/lin/libboost_serialization-gcc41-mt-p-1_38.so.1.38.0

A similar patch has to be applied for Xilinx 13.3. The following line has to added to opt/Xilinx/13.3/ISE_DS/settings64.sh

export LD_PRELOAD=$LD_PRELOAD:/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin64/libAntlr.so:/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin64/libstlport.so.5.1:/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin64/libboost_serialization-gcc41-mt-p-1_38.so.1.38.0

or the following line to /opt/Xilinx/13.2/ISE_DS/settings32.sh in case of a 32bits Ubuntu distribution:

export LD_PRELOAD=$LD_PRELOAD:/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin/libAntlr.so:/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin/libstlport.so.5.1:/opt/Xilinx/13.3/ISE_DS/ISE/lib/lin/libboost_serialization-gcc41-mt-p-1_38.so.1.38.0

Leave a Reply