source: trunk/src/gcc/boehm-gc/add_gc_prefix.c@ 2

Last change on this file since 2 was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 423 bytes
Line 
1# include <stdio.h>
2# include "version.h"
3
4int main(argc, argv, envp)
5int argc;
6char ** argv;
7char ** envp;
8{
9 int i;
10
11 for (i = 1; i < argc; i++) {
12 if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
13 printf("gc%d.%d/%s ", GC_VERSION_MAJOR, GC_VERSION_MINOR, argv[i]);
14 } else {
15 printf("gc%d.%dalpha%d/%s ", GC_VERSION_MAJOR,
16 GC_VERSION_MINOR, GC_ALPHA_VERSION, argv[i]);
17 }
18 }
19 return(0);
20}
Note: See TracBrowser for help on using the repository browser.