[LLVMdev] olden bmks

Francesco Spadini spadini at crhc.uiuc.edu
Sun Dec 8 15:08:01 PST 2002


When I try to compile the olden bc's off the webpage I am getting
undefined symbols. My compile script works as follows:

#!/bin/sh
echo "Generating assembly file."
llc -f $1.bc
echo "Assembling s file."
/opt/SUNWspro/bin/cc -xarch=v9 -lm $1.s -o $1
echo "Removing s file."
rm $1.s

and here is an example of the symbol issues:
Undefined			first referenced
 symbol  			    in file
NumNodes                            Olden-bh.o
nbody                               Olden-bh.o

For each bmk, the undefined symbols are coming from args.c as far as I can
tell.  Do I need to link in args.c's bc file for each of them or am I
doing something terribly wrong?


_________________________________________________
Francesco Spadini
http://www.crhc.uiuc.edu/~spadini
spadini at crhc.uiuc.edu

"Don't worry about people stealing your ideas.
If your ideas are any good you'll have to ram
them down people's throats."
        - Howard Aiken
_________________________________________________




More information about the llvm-dev mailing list