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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [boehm-gc/] [gcname.c] - Blame information for rev 779

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

Line No. Rev Author Line
1 721 jeremybenn
#include <stdio.h>
2
#include "version.h"
3
 
4
int main()
5
{
6
    if (GC_ALPHA_VERSION == GC_NOT_ALPHA) {
7
        printf("gc%d.%d", GC_VERSION_MAJOR, GC_VERSION_MINOR);
8
    } else {
9
        printf("gc%d.%dalpha%d", GC_VERSION_MAJOR,
10
                                 GC_VERSION_MINOR, GC_ALPHA_VERSION);
11
    }
12
    return 0;
13
}

powered by: WebSVN 2.1.0

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