From 5ae3bec5ee812f78a83b1fcd64711684d1c1d003 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 19 Jan 1997 15:05:37 -0500 Subject: [PATCH] (lang_options): Add -fhosted, -ffreestanding, and -Wmain. From-SVN: r13519 --- gcc/toplev.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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", -- 2.30.2