[kaffe] question

2007-02-06 Thread Dylan Cristiani
Maybe question is stupid or out of topic but i simply ask for an answer to 
know where
to shoot
thanks
- Inoltrato da Dylan Cristiani/bancolini/IT il 06/02/2007 09.08 -

Dylan Cristiani/bancolini/IT 
30/01/2007 14.35

Per
kaffe@kaffe.org
CC

Oggetto
question





Hi sirs; i have cross compiled kaffe-1.1.7 for arm-linux for pxa270 
platform based,
but when i try to run a simple java script i get the following error:

[EMAIL PROTECTED] bin]#./java FrHello
kaffe-bin: gc-incremental.c:198: registerTypeByIndex: Assertion 
`gcFunctions[idx].description == 0' failed.

any help will be appreciated!

dylan___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question about ARM jit3

2006-09-14 Thread Casey Marshall
Hi.

I've been able to compile Kaffe for an ARM chipset (from vendor *mumble*
-- I'll just say that I think DC's comics are better), and it promptly
exits with an illegal instruction error when run.

So, my question is, what instruction set does Kaffe's ARM jit support?
*Are* there different ARM instruction sets? There are chips without
floating-point support (which mine is), is that the biggest difference?
Will Kaffe work on a soft float system?

Thanks.

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question??

2006-05-06 Thread Juan Felipe Botero
I wanna know if the last version of kaffe is the same last version of the sun java virtual machine?-- Juan Felipe Botero Ingeniero de sistemasUniversidad de Antioquia
___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Question??

2006-05-06 Thread Jim Pick
Juan Felipe Botero wrote:
 I wanna know if the last version of kaffe is the same last version of
 the sun java virtual machine?

No.  The version numbers are independent.

The latest versions of Kaffe can run a lot (most?) of the things that
will run on JDK 1.4.  We currently don't have a comprehensive set of
testing results to document what works and what doesn't.  We're working
on that.  The best thing to do is to read the mailing lists.

Some areas have more people trying to do things with them than others,
so YMMV (your mileage may vary).  Because Kaffe and Classpath are
volunteer driven projects, if you find anything that doesn't work that
you think should have worked, please report it -- or even better, submit
a patch!  :-)

Cheers,

 - Jim

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Question about function 'sysdepCallMethod'

2005-11-11 Thread Guilhem Lavaux

Hi,

sysdepCallMethod is not simply this. It ensures that the arguments are 
passed correctly according to the ABI for some architecture/os/compiler 
combination. Generally it must be written in assembly or using some 
tricks of the compiler. sysdepCallMethod takes a pointer to some 
function, its arguments and then build a function call and finally call 
it. Once the function returns, the returned value is taken from the 
stack/registers and pushed into the return value memory.


Regards,

Guilhem.

qi fenghai wrote:
Hi all, Please advise if 'sysdepCallMethod' can be implemented by this 
way as bellow:


method 1:
 in JVM:
typedef int (*FUNCTYPE)();  //function's return type is int
FUNCTYPE *nativefunc = (FUNCTYPE)dlsym(handle, foo);
//four argument
(*nativefunc)(1, 2.5);

 in share library:
int foo(int, double);

method 2:
 in JVM:
typedef int (*FUNCTYPE)(...);  //function's return type is int, 
argument list is '...'

FUNCTYPE *nativefunc = (FUNCTYPE)dlsym(handle, foo);
//four argument
(*nativefunc)(1, 2.5);

 in share library:
int foo(int, double);

_
ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn 


___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe




___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question about function 'sysdepCallMethod'

2005-11-02 Thread qi fenghai
Hi all, Please advise if 'sysdepCallMethod' can be implemented by this way 
as bellow:


method 1:
 in JVM:
typedef int (*FUNCTYPE)();  //function's return type is int
FUNCTYPE *nativefunc = (FUNCTYPE)dlsym(handle, foo);

//four argument

(*nativefunc)(1, 2.5);

 in share library:
int foo(int, double);

method 2:
 in JVM:
typedef int (*FUNCTYPE)(...);  //function's return type is int, 
argument list is '...'

FUNCTYPE *nativefunc = (FUNCTYPE)dlsym(handle, foo);

//four argument

(*nativefunc)(1, 2.5);

 in share library:
int foo(int, double);

_
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  



___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] [Question]jike and kaffe

2005-04-14 Thread neo anderson
Hi,
lately i try to install kaffe on my pc box,
yet i found out one thing makes me confused. 
when ./configure in the kaffe* folder, messages is
as follow. why do we need jikes? isn't jike acting the
same as kaffe (simply it's released via ibm)?
therefore, if i need to use jike, why i have to use
kaffe? 
i appreciate any suggestions, sincerely.
jason


== MESSAGE ==BEG
checking for jikes... no
checking whether to use jikes... configure: error: No
jikes compiler found. It i
s required to build Kaffe's class library. Recommended
is jikes version 1.21 or
higher.
== MESSAGE ==END




Send instant messages to your online friends http://uk.messenger.yahoo.com 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] [Question]jike and kaffe

2005-04-14 Thread Michael Koch
On Fri, Apr 15, 2005 at 03:33:54AM +0100, neo anderson wrote:
 Hi,
 lately i try to install kaffe on my pc box,
 yet i found out one thing makes me confused. 
 when ./configure in the kaffe* folder, messages is
 as follow. why do we need jikes? isn't jike acting the
 same as kaffe (simply it's released via ibm)?
 therefore, if i need to use jike, why i have to use
 kaffe? 
 i appreciate any suggestions, sincerely.
 jason

jikes is a java compiler. kaffe is in itself jave interpreter/jit.
kaffe provides a JDK like environment which includes a compiler.
As kaffe itself includes no compiler you can use jikes or kjc for this
task. During build time jikes is need to compile all the jave files
included in kaffe to bytecode.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question about Kaffe

2005-03-06 Thread neo anderson
Hi, 
Lately, I read the annouce of the Kaffe 1.1.4, seemly
it includes some new features and bug fixed. However,
I'm not sure to what level it supports in comaprison
to Sun's jdk, because I hope I could build a site
based upon kaffe (if possible). Therefore, if there's
any useful information (suc as benchmark test or what
kind of product had been tested on it), please let me
know. I appreciate it. 
Sincerely.
Jason

Send instant messages to your online friends http://uk.messenger.yahoo.com 

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] question about compiling

2004-11-23 Thread Eduardo Melione
Hi,

When comiping kaffe is that normal to take several hours at :
...
Making all in compile_time
make[3]: Entering directory
`/home/myuser/kaffe-1.1.4/test/regression/compile_time'

What is happening?

Thanks.
Eduardo Melione

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] question about compiling

2004-11-23 Thread Dalibor Topic
Eduardo Melione wrote:
Hi,
When comiping kaffe is that normal to take several hours at :
...
Making all in compile_time
make[3]: Entering directory
`/home/myuser/kaffe-1.1.4/test/regression/compile_time'
What is happening?
It's probably hung, i.e. you've found a bug. Could you try checking out 
 the current CVS head and building it on your platform?

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question about QT and compilation

2004-07-13 Thread Fabien Renaud
Hello,
rt.jar depends on qt library ?
Is there an easy way to only compile rt.jar ?
Cheers,
Fabien
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Question about QT and compilation

2004-07-13 Thread Dalibor Topic
Fabien Renaud wrote:
Hello,
Salut Fabien,
rt.jar depends on qt library ?
Nope.
Is there an easy way to only compile rt.jar ?
cd libraries/javalib/ ; make JAVAC=jikes.
cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question about cross-compilation

2004-07-08 Thread Fabien Renaud
Hi,
I know I should ask this before but it´s better later than never.
When I set --rt-jar=PATH is it only to copy it or is it used during 
cross-compilation ?
With 2 different rt.jar, will I have different cros binaries ?

Cheers,
Fabien


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Question about cross-compilation

2004-07-08 Thread Dalibor Topic
Fabien Renaud wrote:
Hi,
I know I should ask this before but it´s better later than never.
When I set --rt-jar=PATH is it only to copy it or is it used during 
cross-compilation ?
It just copies it over.
With 2 different rt.jar, will I have different cros binaries ?
No, the C code is independant form the jar files.
cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question about porting kaffe to PXA255

2004-07-02 Thread ¼ª¹âƬÓð5000
Hello,
  I wanted to port kaffe to the Sitsang PXA255(Xscale),i had meeted too many  errors 
when building the cross-compiling kaffe,and now i was luck,It came through finally!I 
was not familier with cross-compiling,It's my first time to do it.When i burned kaffe 
to the board,it error again!
i think though it passed in the making,may be there're still some errors in my 
settings.

the environment variables as follows:

export PATH=/opt/qt-2.3.2-new/bin:/usr/local/arm-linux/bin:$PATH
export QTDIR=/opt/qt-2.3.2-new/
export JAVAC=/usr/java/j2sdk1.4.2_05/bin/javac

the compiling parameters as follows:

CFLAGS=-D__XSCALE__ NM=arm-linux-nm AR=arm-linux-ar CC=arm-linux-gcc ./configure   
--with-awt=qt   --disable-debug   --enable-xscale   --host=arm-linux   
--build=i686-linux   --enable-pure-java-math KAFFEH=/usr/local/kaffe/bin/kaffeh   
--with-rt-jar=/usr/local/kaffe/jre/lib/rt.jar   --with-threads=unix-jthreads   
--prefix=/cvs/xscale  --enable-static=yes --without-esd  --with-qtdir=$QTDIR
--with-jikes=$JAVAC

then make,make install

After building,i port the whole directory of /cvs/xscale to SITSANG,the absolute path 
of kaffe was the same in both host and Sitsang.
(My Sitsang Board was installed linux-2.4.19,qt-embedded-2.3.2,qtopia-1.5;)

then i tryed this:
export PATH=/cvs/xscale/bin:$PATH
kaffa

returns:*
usage: kaffe [-options] class
Options are:
-helpPrint this message
-version Print version number
-fullversion Print verbose version info
-ss size   Maximum native stack size
-mx size   Maximum heap size
-ms size   Initial heap size
-as size   Heap increment
-classpath pathSet classpath
-Xbootclasspath:path   Set bootclasspath
-Xbootclasspath/a:path Append path to bootclasspath
-Xbootclasspath/p:path Prepend path to bootclasspath
-Dproperty=value Set a property
-verify *Verify all bytecode
-verifyremote *  Verify bytecode loaded from network
-noverifyDo not verify any bytecode
-noclassgc   Disable class garbage collection
-verbosegc   Print message during garbage collection
-v, -verbose Be verbose
-verbosejit  Print message during JIT code generation
-verbosemem  Print detailed memory allocation statistics
-verbosecall Print detailed call flow information
-nodeadlock  Disable deadlock detection
-debug * Trace method calls
-noasyncgc * Do not garbage collect asynchronously
-cs, -checksource *  Check source against class files
-oss size *Maximum java stack size
-jar Executable is a JAR
  * Option currently ignored.
   

Compatibility options:
-Xss size  Maximum native stack size
-Xmx size  Maximum heap size
-Xms size  Initial heap size
-cp path   Set classpath
end of return***

then i tryed:

javac HelloWorld.java

returns:**
pc : [400a3cc4]lr : [400a3c90]Not tainted
sp : b854  ip : 401a79d0  fp : b8bc
r10: 40299914  r9 : 8c58  r8 : 0003
r7 : 4000ba94  r6 : 89d4  r5 : bba4  r4 : 4001c164
r3 : c000  r2 : b000  r1 :   r0 : 1000
Flags: nzCv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: 397F  Table: A3214000  DAC: 0015
pc : [401f4cf8]lr : [401f4c1c]Not tainted
sp : b7ec  ip : 402999b4  fp : b880
r10: 40299914  r9 : 8c58  r8 : 0003
r7 : 002220a4  r6 : 0080  r5 :   r4 : 002220a4
r3 :   r2 : 0020  r1 :   r0 : 002220a4
Flags: Nzcv  IRQs on  FIQs on  Mode USER_32  Segment user
Control: 397F  Table: A3214000  DAC: 0015
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
Aborted
end of return:

I was really confused,What was the problem?I have tryed setting CLASSPATH=KAFFE/lib
,kaffe/jre/lib,but it still can't work,I also tryed javac -classpath.
Is this really the error of CLASSPATH?
Did i must do some more settings on the board?

Does someone meet the same thing to me?Can anybody help me
Any sugestion is appreciate!Thx Reading.



__

×¢²áÐÂÀË30Õ×Ãâ·ÑÓÊÏ䣨 http://mail.sina.com.cn/chooseMode.html £©

===
µã»÷ӮȡµÚÁù½ìcctv-mtvÒôÀÖÊ¢µäÃÅƱ 

Re: [kaffe] Question about priorities

2004-06-11 Thread Chris Gray
On Thursday 10 June 2004 18:31, Alexander Boettcher wrote:
 Hi,

 is somewhere defined how many priorities a JVM has to provide. I didn't
 find something about it in the Java spec.

 I'm porting Kaffe to our DROPS (http://wwwos.inf.tu-dresden.de/drops)
 and now is the question, whether Kaffe has to use/provide exactly 10
 priorities or whether more than 10 priorities are possible.

According to 
http://java.sun.com/j2se/1.4.2/docs/api/
constant-values.html#java.lang.Thread.MAX_PRIORITY, priorities run form 1 to 
10. However it's certainly OK to have more, and IIRC the real-time spec 
(RTSJ) actually mandates a higher number.

-- 
Chris Gray  /k/ Embedded Java Solutions
Embedded  Mobile Java, OSGihttp://www.kiffer.be/k/
[EMAIL PROTECTED] +32 3 216 0369


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question about priorities

2004-06-10 Thread Alexander Boettcher
Hi,
is somewhere defined how many priorities a JVM has to provide. I didn't 
find something about it in the Java spec.

I'm porting Kaffe to our DROPS (http://wwwos.inf.tu-dresden.de/drops) 
and now is the question, whether Kaffe has to use/provide exactly 10 
priorities or whether more than 10 priorities are possible.

Thanks,
Alexander Boettcher.

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Question about priorities

2004-06-10 Thread Dalibor Topic
Hallo Alexander,
Alexander Boettcher wrote:
Hi,
is somewhere defined how many priorities a JVM has to provide. I didn't 
find something about it in the Java spec.
Check out 
http://java.sun.com/j2se/1.5.0/docs/guide/vm/thread-priorities.html for 
details and 
http://java.sun.com/docs/books/tutorial/essential/threads/priority.html 
for basics.

I'm porting Kaffe to our DROPS (http://wwwos.inf.tu-dresden.de/drops) 
and now is the question, whether Kaffe has to use/provide exactly 10 
priorities or whether more than 10 priorities are possible.
You can have more, if you want to, but the API spec for 1.4.2 defines 10 
as max and 1 as min. So you'd have to change the values of these final 
fields in your port, if you intend to support more than 10 priority levels.

Not that priority level requests are not guaranteed to have any effect, 
so a VM may provide no different priority levels of it may provide 10.

Given that the JDK API specifies the API limits as 1 and 10, I guess 
that for binary compatibility reasons you may want to stay with 10 
levels of priority.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] question from newbie

2004-04-07 Thread Holger Schurig
 2 I'm struggling with java on the xscale processor.  I realize that it
 is a work-in-progress for kaffe but I've seen notes that the issues are
 related to the jit processing.  Does anyone have any feelings on how
 kaffe would work on the xscale if I don't use the JIT, AWT, and X? 
 Kind of an open question I know.

I have tried both the JIT3 and INTRP with some test programs on my PXA255. 
JIT3 was considerable slower, but I had only simple test programs that 
where executed once.

Most test programs worked, some not.


However, I don't have the following:

a) expertise in Java (somehow I don't like the language, /me likes python 
more then it comes to interpreted languages)

b) expertise in the inner stuff of Kaffe, classpath etc to be able to 
debug the non-working test code



Also, all programs where on the text I/O or console level. I didn't try so 
far any graphical stuff that works with the framebuffer device of Linux 
and I'm still not sure which way I should go here.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] question from newbie

2004-04-06 Thread Ian Mitchell








Hi,



Two questions really.



1 Is there a forum similar to this one where users can ask
questions that arent related to the development of kaffe
(believe me, you dont want me messing with it!)



2 Im struggling with java on the xscale
processor. I realize that it is a
work-in-progress for kaffe but Ive seen notes
that the issues are related to the jit
processing. Does anyone have any feelings
on how kaffe would work on the xscale
if I dont use the JIT, AWT, and X?
Kind of an open question I know.



Thanks,

Ian








Re: [kaffe] question from newbie

2004-04-06 Thread Dalibor Topic
Hi Ian,

Ian Mitchell wrote:
Hi,
 
Two questions really.
 
1 Is there a forum similar to this one where users can ask questions
that aren't related to the development of kaffe (believe me, you don't
want me messing with it!)
There is no special user list. I.e. everyone is welcome to mess with it :)

2 I'm struggling with java on the xscale processor.  I realize that it
is a work-in-progress for kaffe but I've seen notes that the issues are
related to the jit processing.  Does anyone have any feelings on how
kaffe would work on the xscale if I don't use the JIT, AWT, and X?  Kind
of an open question I know.
I think intrp should work, but I haven't tried recently.

cheers,
dalibor topic
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] question on jit

2004-01-19 Thread kalyan ram
Hai
Can anyone point me to a file and function in
kaffe where exactly the execution of machine code
(after jit) in jit mode is done?I can see that in
soft_fixup_trampoline in soft.c,trampoline is replaced
to point to the native code.For example,in intrp mode,
runVirtualMachine in machine.c is where bytecode
execution is done.My guess is samething happens in jit
at machine code level.Where is it done?

Thanks
Ram

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] question about characters set.

2003-11-12 Thread Dalibor Topic
Hi jsona,

jsona laio wrote:
hi mavens,
i used to utilize sun java's vm to develop my porject.
however, lately i want to participate a porject, in
which involves encoding like CCCII (CJK based
character for asian characters, which defines more
characters than unicode supports). however, as i know,
java vm is based upon unicode (is kaffe based on
unicode, too?). so i hope to know that is it possible
to switch its base encoding, for i'm afraid that code
value may miss when data exchanging 'twixt two
character set. or any else better way can avoid such
questions?
i appreciate any suggestions, sincerely.
If I understand you correctly, you'd like to exchange the Unicode core 
of a VM for another encoding. The trouble is that it wouldn't be a VM 
for Java anymore, as the spec mandates the Unicode usage for Java 
programs [1]. The spec explicitely says:

§2.4.1
[...]
The integral types are byte, short, int, and long, whose values are 
8-bit, 16-bit, 32-bit, and 64-bit signed two's-complement integers, 
respectively, and char, whose values are 16-bit unsigned integers 
representing Unicode characters (§2.1).

If complying to the JVM spec doesn't bother you much, feel free to fork 
kaffe and rip the unicode handling code out and replace it with CCCIII.

If you're looking for a more portable solution to character conversion 
problems, you may want to take a look at the ICU4J [2] project from IBM.

best regards,
dalibor topic
[1]
http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#25310
[2] http://oss.software.ibm.com/icu4j/
___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] question about characters set.

2003-10-30 Thread jsona laio
hi mavens,
i used to utilize sun java's vm to develop my porject.
however, lately i want to participate a porject, in
which involves encoding like CCCII (CJK based
character for asian characters, which defines more
characters than unicode supports). however, as i know,
java vm is based upon unicode (is kaffe based on
unicode, too?). so i hope to know that is it possible
to switch its base encoding, for i'm afraid that code
value may miss when data exchanging 'twixt two
character set. or any else better way can avoid such
questions?
i appreciate any suggestions, sincerely.



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Question configure.in: Check for [u]int{8,16,32,64} and bool.

2003-06-30 Thread Gerrit P. Haase
Hallo kaffe,

How does this work?  The variables used in the configure.in fragment
below are never used elsewhere in configure.in, so why are they
included?


dnl =
dnl Check for [u]int{8,16,32,64} and bool.
dnl -

if test x$ac_cv_typedef_int8 = xyes; then
  AC_DEFINE(HAVE_INT8, 1, [Do we have int8])
fi

if test x$ac_cv_typedef_uint8 = xyes; then
  AC_DEFINE(HAVE_UINT8, 1, [Do we have uint8])
fi

if test x$ac_cv_typedef_int16 = xyes; then
  AC_DEFINE(HAVE_INT16, 1, [Do we have int16])
fi

if test x$ac_cv_typedef_uint16 = xyes; then
  AC_DEFINE(HAVE_UINT16, 1, [Do we have uint16])
fi

if test x$ac_cv_typedef_int32 = xyes; then
  AC_DEFINE(HAVE_INT32, 1, [Do we have int32])
fi

if test x$ac_cv_typedef_uint32 = xyes; then
  AC_DEFINE(HAVE_UINT32, 1, [Do we have uint32])
fi

if test x$ac_cv_typedef_int64 = xyes; then
  AC_DEFINE(HAVE_INT64, 1, [Do we have int64])
fi

if test x$ac_cv_typedef_uint64 = xyes; then
  AC_DEFINE(HAVE_UINT64, 1, [Do we have uint64])
fi

if test x$ac_cv_typedef_bool = xyes; then
  AC_DEFINE(HAVE_BOOL, 1, [Do we have bool])
fi



Wouldn't this work also (at least with a recent version
of autoconf rt.al.)?

dnl =
dnl Check for [u]int{8,16,32,64} and bool.
dnl -

AC_CHECK_TYPES([int8,uint8,int16,uint16,int32,uint32,int64,unit64])

AC_HEADER_STDBOOL



Gerrit
-- 
=^..^=


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Kaffe question

2003-02-03 Thread Dalibor Topic
Hi Timothy,

--- [EMAIL PROTECTED] wrote:
 I am looking for a java vm that is as small as
 possible and platform
 independent, but windows support is a must.  Kaffe
 seems to be a great
 solution to my challenge.  I was wondering if
 version 1.0.7 is available
 for windows development, and if not do you know of
 any possible solutions.
 I read somewhere that it is possible to compile the
 j2me vm for desktop
 development but that does not seem to be a very
 popular solution.  Any
 ideas would be much appreciated.  Thank you.

Currently there are two ways to run kaffe on windows:
a) using Cygwin
b) using KaffeCE

a) is currently broken, but a patch exists that fixes
a lot of the problems. See
http://www.kaffe.org/pipermail/kaffe/2002-December/009413.html
for more information on current Cygwin status.

b) is only kaffe 1.0.6 for WinCE devices, and maybe
NT. It needs someone with interest in the windows
platform to merge it into our current tree, or upgrade
it to 1.0.7. It apparently also contains fixes for
several issues plaguing Cygwin so a merge effort would
be most appreciated. I could provide some assistance
on the Cygwin side of things. I don't have MS Embedded
VC++ set up yet, so I can't tell how easy that would
be to do with the latest set of sources.

More info on kaffeCE is available at
http://www.rainer-keuchel.de/wince/kaffe.html

As a bit of motivation, compiling current kaffe's
class library with the minimal profile, i.e. only
classes needed to compile java.lang.Object creates a
rt.jar that's about 350K. You could get it smaller by
throwing away debug information. You can quite easily
customize the class library for your needs. Check out
FAQ/FAQ.classlibrary-compile in the latest sources
from CVS.

best regards,
dalibor topic

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



[kaffe] Kaffe question

2003-01-31 Thread timothy_christensen
Hello Jim,

I am looking for a java vm that is as small as possible and platform
independent, but windows support is a must.  Kaffe seems to be a great
solution to my challenge.  I was wondering if version 1.0.7 is available
for windows development, and if not do you know of any possible solutions.
I read somewhere that it is possible to compile the j2me vm for desktop
development but that does not seem to be a very popular solution.  Any
ideas would be much appreciated.  Thank you.


Timothy David Christensen
Programmer
Phone: 541.988.7775




___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe