Changes between Version 2 and Version 3 of PortingYourApp
- Timestamp:
- Oct 19, 2009, 8:03:58 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PortingYourApp
v2 v3 34 34 * `lib/Makefile` 35 35 {{{ 36 objs = getopt.o getopt1.o number.o g etenv.o36 objs = getopt.o getopt1.o number.o glue.o 37 37 38 38 DIR_CFLAGS=-I$(srcdir)/../lib -I$(srcdir)/../h -I$(srcdir)/.. -U__MUTEK__ -DHAVE_CONFIG_H … … 50 50 * `signal()` 51 51 * `sys/types.h` 52 * As it is unix and user-specific, MutekH starts with `app_start()`, not `main()`. We need a wrapper that calls `main()`. 52 53 53 54 We will have to provide them. … … 60 61 { 61 62 return NULL; 63 } 64 65 int main(int, char**); 66 67 void app_start() 68 { 69 char *argv[] = {"bc"}; 70 main(1, argv); 62 71 } 63 72 }}}