Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Commit

Permalink
Hacks to get compiling & linking working. Still not done.
Browse files Browse the repository at this point in the history
  • Loading branch information
zenspider committed Mar 23, 2015
1 parent df47923 commit b3a4636
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/kernel/parser/parser.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/bin/bash

if [ -z "$CC" ]; then CC=/usr/bin/g++; fi
PARSERDIR=$(cd $(dirname $0) ; pwd)
MAGLEV_HOME=$(cd $(dirname $0)/../../.. ; pwd)
GEMSTONE=$MAGLEV_HOME/gemstone
# HACK
GSVERSION=3.1.0.2.1-64

echo "Building the yacc executable"

Expand Down Expand Up @@ -80,5 +83,5 @@ chmod 555 libmagparse.so

echo "Copying libmagparse.so to $GEMSTONE/lib/"
chmod +w $GEMSTONE/lib
rm -f $GEMSTONE/lib/libmagparse-3.1.0.2.1-64.so
rm -f $GEMSTONE/lib/libmagparse-$GSVERSION.so
cp libmagparse.so $GEMSTONE/lib/libmagparse-3.1.0.2.1-64.so

0 comments on commit b3a4636

Please sign in to comment.