Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/local/bin/bash
- ROOTDIR=/home/hanzer/third-party
- PREFIX=/home/hanzer/local/ghdl
- CONFIG_SHELL=/usr/local/bin/bash
- export CONFIG_SHELL
- # fix Debian multiarch..
- # export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
- BASEDIR=$ROOTDIR
- SOURCEDIR=$BASEDIR/source/gcc-4.7.3
- BUILD_DIR=$BASEDIR/build
- LIBADA=--enable-libada
- LANGCHOICE=--enable-languages=vhdl
- mkdir $BUILD_DIR
- cd $BUILD_DIR
- # need one or both of these if changing settings. Otherwise, faster without them.
- gmake distclean
- gmake clean
- $SOURCEDIR/configure $LANGCHOICE $LIBADA --enable-checking --prefix=$PREFIX --disable-bootstrap
- #gmake CFLAGS="-O -g"
- gmake -B -d
Advertisement
Add Comment
Please, Sign In to add comment