c89.c (9f5b04e925d068b053cc41bae3d3c25a5325062c) c89.c (f682f10c76449b3af3b1dd9afff859cd1cd07116)
1/*-
2 * This is the Posix.2 mandated C compiler. Basically, a hook to the
3 * cc(1) command.
4 *
5 * Copyright (c) 2001 by Jens Schweikhardt
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 88 unchanged lines hidden (view full) ---

97 (void)execv(CC, Argv.b);
98 err(1, "execv(" CC ")");
99}
100
101static void
102usage(void)
103{
104 fprintf(stderr,
1/*-
2 * This is the Posix.2 mandated C compiler. Basically, a hook to the
3 * cc(1) command.
4 *
5 * Copyright (c) 2001 by Jens Schweikhardt
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 88 unchanged lines hidden (view full) ---

97 (void)execv(CC, Argv.b);
98 err(1, "execv(" CC ")");
99}
100
101static void
102usage(void)
103{
104 fprintf(stderr,
105"usage: c89 [-c] [-D name[=value]] [...] [-E] [-g] [-I directory ...]\n"
106" [-L directory ...] [-o outfile] [-O] [-s] [-U name ...] operand ...\n"
105"usage: c89 [-cEgOs] [-D name[=value]] ... [-I directory] ... [-L directory] ...\n"
106" [-o outfile] [-U name] ... operand ...\n"
107"\n"
108" where operand is one or more of file.c, file.o, file.a\n"
109" or -llibrary\n");
110 exit(1);
111}
107"\n"
108" where operand is one or more of file.c, file.o, file.a\n"
109" or -llibrary\n");
110 exit(1);
111}