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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [classpath/] [natConfiguration.cc] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
// natConfiguration.cc - native code for configuration.
2
 
3
/* Copyright (C) 2006  Free Software Foundation
4
 
5
   This file is part of libgcj.
6
 
7
This software is copyrighted work licensed under the terms of the
8
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9
details.  */
10
 
11
#include <config.h>
12
#include <platform.h>
13
 
14
#include <gcj/cni.h>
15
#include <jvm.h>
16
 
17
#include <gnu/classpath/Configuration.h>
18
 
19
jstring
20
gnu::classpath::Configuration::classpath_home()
21
{
22
  return JvNewStringLatin1(LIBGCJ_PREFIX);
23
}
24
 
25
jboolean
26
gnu::classpath::Configuration::debug()
27
{
28
#ifdef __GCJ_DEBUG
29
  return true;
30
#else
31
  return false;
32
#endif
33
}
34
 
35
jstring
36
gnu::classpath::Configuration::toolkit()
37
{
38
  return JvNewStringLatin1(AWT_TOOLKIT);
39
}
40
 
41
jstring
42
gnu::classpath::Configuration::ecj()
43
{
44
  return JvNewStringLatin1(ECJ_JAR_FILE);
45
}

powered by: WebSVN 2.1.0

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