gcc/boehm-gc/add_gc_prefix.c

21 lines
423 B
C
Raw Normal View History

1999-04-07 16:01:30 +08:00
# include <stdio.h>
# include "version.h"
1999-04-07 16:01:30 +08:00
int main(argc, argv, envp)
int argc;
char ** argv;
char ** envp;
{
int i;
for (i = 1; i < argc; i++) {
if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
} else {
printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
}
1999-04-07 16:01:30 +08:00
}
return(0);
}