gcc specsfile: *lib: add -lllibinit -lautoinit
[AROS.git] / workbench / c / LoadWB.c
blob841335b5ebd6e2fd0b78cc4b30396f8a4cdfc778
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id: LoadWB.c $
5 Desc:
6 Lang: English
7 */
9 #define DEBUG 0
10 #include <aros/debug.h>
12 #include <exec/types.h>
13 #include <proto/exec.h>
14 #include <workbench/workbench.h>
15 #include <proto/workbench.h>
17 #include <strings.h>
19 /* Very minimal C:LoadWB */
21 const TEXT version[] = "$VER: LoadWB 42.1 (29.7.2011)";
23 int __nocommandline = 1;
25 int main(void)
27 struct WorkbenchBase *WorkbenchBase = TaggedOpenLibrary(TAGGEDOPEN_WORKBENCH);
28 if (WorkbenchBase) {
29 StartWorkbench(0, NULL);
30 CloseLibrary((struct Library*)WorkbenchBase);
32 return 0;