From 85fdfe7af724e90b8edb434e5f1260a04f29be0e Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 8 Oct 2007 21:54:12 +0000 Subject: [PATCH] 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 --- Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Main.hs b/Main.hs index b34c149..d02270a 100644 --- a/Main.hs +++ b/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