Problems building Kaffe under NeXTStep 3.3

Oliver Koell 100045.1455 at compuserve.com
Thu Feb 27 05:51:16 PST 1997


hi chris,

this is not a next specific problem, but a missing file in the distribution. Tim
posted it on the list a while ago. Here is a copy ...

much luck, oliver

------------------------------------

/*
 * external_native.h
 * Wrap up the calls between Kaffe and native method calls for systems
 *  which don't support shared libraries.
 *
 * Copyright (c) 1997 T. J. Wilkinson & Associates, London, UK.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * Modified by Tim Wilkinson <tim at tjwassoc.demon.co.uk>
 */

#ifndef __external_native_h
#define __external_native_h

#if defined(NO_SHARED_LIBRARIES)

#if defined(TRANSLATOR)
#define KAFFE_NATIVE_PROTOTYPE(_f)      extern void _f();
#define KAFFE_NATIVE_METHOD(_n)                { #_n, _n },
#elif defined(INTERPRETER)
#define KAFFE_NATIVE_PROTOTYPE(_f)      extern void Kaffe_##_f##_stub();
#define KAFFE_NATIVE_METHOD(_n)         { #_n, Kaffe_##_n##_stub },
#endif

#define KAFFE_NATIVE(_f)        KAFFE_NATIVE_PROTOTYPE(_f)

#if defined(HAVE_PACKAGE_TJWASSOC_DEMON_CO_UK)
#include "tjwassoc.demon.co.uk/external_wrappers.h"
#endif
#if defined(HAVE_PACKAGE_JAVASOFT_COM)
#include "javasoft.com/external_wrappers.h"
#endif
#if defined(HAVE_PACKAGE_BISS_NET_COM)
#include "biss-net.com/external_wrappers.h"
#endif
#if defined(HAVE_PACKAGE_EPFL_CH)
#include "epfl.ch/external_wrappers.h"
#endif

#undef  KAFFE_NATIVE
#define KAFFE_NATIVE(_f)        KAFFE_NATIVE_METHOD(_f)

nativeFunction default_natives[] = {

#if defined(HAVE_PACKAGE_TJWASSOC_DEMON_CO_UK)
#include "tjwassoc.demon.co.uk/external_wrappers.h"
#endif
#if defined(HAVE_PACKAGE_JAVASOFT_COM)
#include "javasoft.com/external_wrappers.h"
#endif
#if defined(HAVE_PACKAGE_BISS_NET_COM)
#include "biss-net.com/external_wrappers.h"
#endif
#if defined(HAVE_PACKAGE_EPFL_CH)
#include "epfl.ch/external_wrappers.h"
#endif

        { 0, 0 }
};

#undef  KAFFE_NATIVE

#endif

#endif



More information about the kaffe mailing list