| 1 | static char RCSid[] = |
| 2 | "$Header$"; |
| 3 | |
| 4 | /* |
| 5 | * Copyright (c) 1992, 2002 Michael J. Roberts. All Rights Reserved. |
| 6 | * |
| 7 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 8 | * on using and copying this software. |
| 9 | */ |
| 10 | /* |
| 11 | Name |
| 12 | os0tc.c - os mainline for tads2 compiler |
| 13 | Function |
| 14 | invokes compiler from operating system command line |
| 15 | Notes |
| 16 | none |
| 17 | Modified |
| 18 | 04/02/92 MJRoberts - creation |
| 19 | */ |
| 20 | |
| 21 | #include "os.h" |
| 22 | |
| 23 | int main(int argc, char** argv) |
| 24 | { |
| 25 | int tcdmain(/*_ int argc, char *argv[] _*/); |
| 26 | int err; |
| 27 | |
| 28 | os_init(&argc, argv, (char *)0, (char *)0, 0); |
| 29 | err = os0main(argc, argv, tcdmain, "i", "config.tc"); |
| 30 | os_uninit(); |
| 31 | os_term(err); |
| 32 | return err; |
| 33 | } |