comparison src/emacs.c @ 2015:2364237fbc0f

[xemacs-hg @ 2004-04-15 20:56:17 by olivierg] Moving the dump file inside the executable
author olivierg
date Thu, 15 Apr 2004 20:56:23 +0000
parents 9c872f33ecbe
children 8e3ead683fd1
comparison
equal deleted inserted replaced
2014:92f7301e4a23 2015:2364237fbc0f
270 270
271 #ifdef WIN32_ANY 271 #ifdef WIN32_ANY
272 #include "console-msw.h" 272 #include "console-msw.h"
273 #endif 273 #endif
274 274
275 #ifndef WIN32_NATIVE
276 #include "dump-data.h"
277 #endif
278
275 /* For PATH_EXEC */ 279 /* For PATH_EXEC */
276 #include <paths.h> 280 #include <paths.h>
277 281
278 #if defined (HEAP_IN_DATA) && !defined (PDUMP) 282 #if defined (HEAP_IN_DATA) && !defined (PDUMP)
279 void report_sheap_usage (int die_if_pure_storage_exceeded); 283 void report_sheap_usage (int die_if_pure_storage_exceeded);
818 printf ("Portable dumper not configured; -sd just forces exit.\n"); 822 printf ("Portable dumper not configured; -sd just forces exit.\n");
819 #endif 823 #endif
820 exit (0); 824 exit (0);
821 } 825 }
822 826
827 /* Handle the -si/--show-inline-info switch, which means show the
828 alignment and max size of the inline data and quit */
829 if (argmatch (argv, argc, "-si", "--show-inline-info", 0, NULL, &skip_args))
830 {
831 #if defined(PDUMP) || !defined(WIN32_NATIVE)
832 printf ("%d %d\n", dumped_data_max_size(), dumped_data_align_offset());
833 #else
834 printf ("Portable dumper not configured or windows native; -si just forces exit.\n");
835 #endif
836 exit (0);
837 }
838
823 /* Handle the --no-dump-file/-nd switch, which means don't load the dump 839 /* Handle the --no-dump-file/-nd switch, which means don't load the dump
824 file (ignored when not using pdump) */ 840 file (ignored when not using pdump) */
825 if (argmatch (argv, argc, "-nd", "--no-dump-file", 0, NULL, &skip_args)) 841 if (argmatch (argv, argc, "-nd", "--no-dump-file", 0, NULL, &skip_args))
826 nodumpfile = 1; 842 nodumpfile = 1;
827 843