From: Richard Kenner Date: Sun, 19 Jan 1997 20:05:37 +0000 (-0500) Subject: (lang_options): Add -fhosted, -ffreestanding, and -Wmain. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ae3bec5ee812f78a83b1fcd64711684d1c1d003;p=gcc.git (lang_options): Add -fhosted, -ffreestanding, and -Wmain. From-SVN: r13519 --- diff --git a/gcc/toplev.c b/gcc/toplev.c index 7ddde13ac27..364c17df84f 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",