Patch configure so that we dont need a seperate spec file for x86_64. Pass info about...
[AROS.git] / arch / all-ios / bootstrap / main.m
blobd7474c69f31704aef2180012c1f68c33d913e296
1 #include <stdlib.h>
2 #include <string.h>
4 #include "appdelegate.h"
6 int _argc;
7 char **_argv;
9 int main(int argc, char **argv)
11     NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
12     int i;
14     /* The easiest way to pass arguments to the bootstrap. 
15        TODO: in real life we have no way to specify them. Need
16        to teach bootstrap to store them in the configuration file. */
17     _argc = argc;
18     _argv = argv;
20     i = UIApplicationMain(argc, argv, NULL, @"BootstrapDelegate");
22     [pool release];
23     return i;