mr-ma / sip-eval

1 stars 0 forks source link

Load libraries for compiling bitcodes to a binary from a file #22

Closed anahitH closed 6 years ago

anahitH commented 6 years ago

Currently generator.sh has all libraries for all bitcodes hardcoded in a compilation command arguments. As almost every new bitcode needs new libraries, this hardcoded list grows. Better solution will be loading libraries for a bitcode from a file.

anahitH commented 6 years ago

Added files for each bitcode containing corresponding libraries needed to compile bitcode to a binary. Files are added to link-libraries directory, each with the name of corresponding bitcode. E.g. link-libraries/tetris.bc is a text file containing the link -lncurses.