Made Tock draw in the post-analysis object files when linking

This commit is contained in:
Neil Brown 2009-04-02 18:14:40 +00:00
parent 70789661f1
commit 0e31e98bb2

View File

@ -287,8 +287,10 @@ compileFull inputFile moutputFile
exec $ cCommand postCFile postOFile (csCompilerFlags optsPS) exec $ cCommand postCFile postOFile (csCompilerFlags optsPS)
cs <- lift getCompState cs <- lift getCompState
let otherOFiles = [usedFile ++ ".tock.o" let otherOFiles = concat [[usedFile ++ ".tock.o"
| usedFile <- Set.toList $ csUsedFiles cs] ,usedFile ++ ".tock_post.o"
]
| usedFile <- Set.toList $ csUsedFiles cs]
-- Link the object files into a binary -- Link the object files into a binary