diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-01-19 15:05:37 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-01-19 15:05:37 -0500 |
commit | 5ae3bec5ee812f78a83b1fcd64711684d1c1d003 (patch) | |
tree | 5fdda990ea48150d2f50b26c536ba5dd9209372b /gcc | |
parent | 92fce8f5f82a5a888ebbe46db4752baa3f7f2b72 (diff) | |
download | gcc-5ae3bec5ee812f78a83b1fcd64711684d1c1d003.zip gcc-5ae3bec5ee812f78a83b1fcd64711684d1c1d003.tar.gz gcc-5ae3bec5ee812f78a83b1fcd64711684d1c1d003.tar.bz2 |
(lang_options): Add -fhosted, -ffreestanding, and -Wmain.
From-SVN: r13519
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/toplev.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 7ddde13..364c17d 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1,5 +1,5 @@ /* Top level of GNU C compiler - Copyright (C) 1987, 88, 89, 92-5, 1996 Free Software Foundation, Inc. + Copyright (C) 1987, 88, 89, 92-6, 1997 Free Software Foundation, Inc. This file is part of GNU CC. @@ -662,6 +662,10 @@ char *lang_options[] = "-fno-asm", "-fbuiltin", "-fno-builtin", + "-fhosted", + "-fno-hosted", + "-ffreestanding", + "-fno-freestanding", "-fcond-mismatch", "-fno-cond-mismatch", "-fdollars-in-identifiers", @@ -692,6 +696,8 @@ char *lang_options[] = "-Wno-import", "-Wimplicit", "-Wno-implicit", + "-Wmain", + "-Wno-main", "-Wmissing-braces", "-Wno-missing-braces", "-Wmissing-declarations", |