OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [boehm-gc/] [add_gc_prefix.c] - Blame information for rev 22

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
# include <stdio.h>
2
# include "version.h"
3
 
4
int main(argc, argv, envp)
5
int argc;
6
char ** argv;
7
char ** 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.