Skip to content
Snippets Groups Projects
Commit 400338c7 authored by xleroy's avatar xleroy
Browse files

Preprocesser en definissant __ppc__ (utile pour l'emulation MacOSX/Intel)

git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@109 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
parent 4559f4d7
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ let save_csyntax = ref false ...@@ -47,7 +47,7 @@ let save_csyntax = ref false
let preprocess file = let preprocess file =
let temp = Filename.temp_file "compcert" ".i" in let temp = Filename.temp_file "compcert" ".i" in
let cmd = let cmd =
sprintf "gcc %s -D__COMPCERT__ -E %s > %s" sprintf "gcc %s -D__COMPCERT__ -D__ppc__ -E %s > %s"
(String.concat " " (List.rev !prepro_options)) (String.concat " " (List.rev !prepro_options))
file file
temp in temp in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment