Added a missing command to actually compile the C file produced by the post-analyse pass, and fixed the file extensions passed to the kroc link command
This commit is contained in:
parent
c17cf0ce38
commit
85fdfe7af7
3
Main.hs
3
Main.hs
|
@ -137,7 +137,8 @@ main = do
|
|||
(tempPathPost, tempHandlePost) <- liftIO $ openTempFile "." "tock-temp-post"
|
||||
postCAnalyse (tempPath ++ ".s") tempHandlePost
|
||||
liftIO $ hClose tempHandlePost
|
||||
exec $ krocLinkCommand tempPath tempPathPost destBin
|
||||
exec $ cCommand tempPathPost (tempPathPost ++ ".o")
|
||||
exec $ krocLinkCommand (tempPath ++ ".o") (tempPathPost ++ ".o") destBin
|
||||
BackendCPPCSP -> exec $ cxxCommand tempPath destBin
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user