dee018d97f202b4cb1c5e1607371b9b12152ed59
[cacao.git] / src / mm / boehm-gc / add_gc_prefix.c
1 #include "config.h"
2
3 # include <stdio.h>
4 # include <gc.h>
5  
6 int main(argc, argv, envp)
7 int argc;
8 char ** argv;
9 char ** envp;
10 {
11     int i;
12     
13     for (i = 1; i < argc; i++) {
14       if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
15         printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
16       } else {
17         printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
18                GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
19       }
20     }
21     return(0);
22 }