]> gcc.gnu.org Git - gcc.git/blame - libjava/gij.cc
jvgenmain.c (main): _Jv_Compiler_Properties now an extern; set in generated `main'.
[gcc.git] / libjava / gij.cc
CommitLineData
58eb6e7c
AG
1/* Copyright (C) 1999 Cygnus Solutions
2
3 This file is part of libgcj.
4
5This software is copyrighted work licensed under the terms of the
6Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7details. */
8
9/* Author: Kresten Krab Thorup <krab@gnu.org> */
10
11#include <jvm.h>
27e934d8 12#include <gcj/cni.h>
58eb6e7c
AG
13#include <stdio.h>
14
15#include <java/lang/System.h>
16#include <java/util/Properties.h>
17
76ed0c0a
TT
18// This is used to initialize the compiled-in system properties.
19const char *_Jv_Compiler_Properties[] =
20{
21 NULL
22};
23
24int
25main (int argc, const char **argv)
58eb6e7c
AG
26{
27 if (argc < 2)
28 {
76ed0c0a 29 printf ("usage: %s CLASS [ARGS]...\n", argv[0]);
58eb6e7c
AG
30 exit (1);
31 }
32
76ed0c0a 33 _Jv_RunMain (argv[1], argc - 1, argv + 1);
58eb6e7c 34}
This page took 0.051437 seconds and 5 git commands to generate.