diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2006-09-17 15:52:17 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2006-09-17 15:52:17 +0000 |
commit | 400338c7686dfe864c024e14f832997eafd3f9f3 (patch) | |
tree | e675cdd9c39550fb83d2fe54a43b972d97ffe0ad /caml | |
parent | 4559f4d7bef85915f5cb7f11b4156dacf120a52e (diff) | |
download | compcert-400338c7686dfe864c024e14f832997eafd3f9f3.tar.gz compcert-400338c7686dfe864c024e14f832997eafd3f9f3.zip |
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
Diffstat (limited to 'caml')
-rw-r--r-- | caml/Main2.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caml/Main2.ml b/caml/Main2.ml index 26301475..adb74396 100644 --- a/caml/Main2.ml +++ b/caml/Main2.ml @@ -47,7 +47,7 @@ let save_csyntax = ref false let preprocess file = let temp = Filename.temp_file "compcert" ".i" in 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)) file temp in |