--- a/LLVMModule.st Wed Aug 05 23:59:59 2015 +0100
+++ b/LLVMModule.st Fri Aug 07 14:10:48 2015 +0100
@@ -179,7 +179,7 @@
self writeBitcodeToFile: bitcode.
assembly := bitcode withSuffix:'s'.
[
- (OperatingSystem executeCommand: ('/usr/bin/llc-3.8 ', bitcode pathName)) ifFalse:[
+ (OperatingSystem executeCommand: (LLVMConfig bindir , Filename separator , 'llc ' , bitcode pathName)) ifFalse:[
self error: 'Failed to generate assembly'.
].
aStream nextPutAll: assembly contents asString.
@@ -189,6 +189,7 @@
].
"Created: / 05-08-2015 / 23:46:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 07-08-2015 / 14:09:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!LLVMModule methodsFor:'writing-bitcode'!