Re: [kaffe] build breakage

2003-09-25 Thread James Simmons

> Fixed now. Thanks!

Its working now. Right know I'm cleaning up a bunch of bugs. I hope to get 
something buildable in the next few days.



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


Re: [kaffe] build breakage

2003-09-24 Thread Dalibor Topic
James Simmons wrote:
So if you want to play with kaffe from CVS, but class library 
compilation breakage prevents you from doing so, drop me an e-mail, and 
I'll try to help. ;)


Thanks for the sound fixes. It compiles now expect for when you set the 
profile to allatonce. I discovered that it is broken for kaffe in CVS 
right now. If you could fix that then I would have the first working 
version of Kaffe AWT-classpath.
Fixed now. Thanks!

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


Re: [kaffe] build breakage

2003-09-24 Thread James Simmons

> So if you want to play with kaffe from CVS, but class library 
> compilation breakage prevents you from doing so, drop me an e-mail, and 
> I'll try to help. ;)

Thanks for the sound fixes. It compiles now expect for when you set the 
profile to allatonce. I discovered that it is broken for kaffe in CVS 
right now. If you could fix that then I would have the first working 
version of Kaffe AWT-classpath.



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


Re: [kaffe] build breakage

2003-09-23 Thread Jim Pick
On Tue, 23 Sep 2003 23:33:12 +0200 (CEST)
Arnaud Vandyck <[EMAIL PROTECTED]> wrote:

> On Tue, 23 Sep 2003 20:50:41 +0100 (BST)
> James Simmons <[EMAIL PROTECTED]> wrote:
> 
> > I really really hate the build system :-(
> 
> Some friends told me about scons... do you know it? 

I agree the build system is somewhat cumbersome.  However, in defense of
our build system, it does a good job of not requiring end users to
install additional tools to build Kaffe.

On a stripped system, one should only need a basic Unix shell and
utilities, a c compiler and linker, and the core development libraries
(eg. libc, gmp, zlib) to get a working virtual machine.  If people can
get a working JVM going early on in the bootstrapping process, that
enables them to use a huge number of Java-based build tools (eg. ant).

The tradeoff is that in order to do this, we developers have to do more
work, eg. autoconf, automake, libtool, etc.  It makes life easier for
the end users though, ultimately.  Also, by using those tools, we can
help to improve them for the rest of the free software community.

Unfortunately, several more build-time dependencies have snuck in than
I'd like, eg. we need GNU tar due to some long filenames, and I think we
have some gcc'isms.

I think there is room to add additional tools to the build process that
are meant to be used in "maintainer mode" only.  eg.  I'd like to use
ant and XSLT in the documentation generation process.

BTW, I'm a big fan of ant -- instead of trying to be a language, it just
concentrates on defining the core tasks that form the basis of the build
system, but still leaves the option open to define additional tasks
using Java code.

Of course, ant requires a JVM to run, so it's of little use in
bootstrapping a JVM.  Being able to cross-compile Kaffe is important as
well.

Cheers,

 - Jim

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


Re: [kaffe] build breakage

2003-09-23 Thread Arnaud Vandyck
On Tue, 23 Sep 2003 20:50:41 +0100 (BST)
James Simmons <[EMAIL PROTECTED]> wrote:

> I really really hate the build system :-(

Some friends told me about scons... do you know it? 

http://www.scons.org/
a Software Construction tool

What is SCons? 

SCons is  an Open  Source software construction  tool--that is,  a build
tool; an improved substitute for  the classic Make utility; a better way
to build software. 

What makes SCons better? 

* Configuration files  are Python scripts--use  the power of  a real
  programming language to solve build problems. 
* Reliable, automatic  dependency analysis  built-in for C,  C++ and
  Fortran--no more "make  depend" or "make clean" to  get all of the
  dependencies.  Dependency analysis  is  easily extensible  through
  user-defined  dependency  Scanners  for  other languages  or  file
  types. 
* Built-in  support for  C, C++,  Java, Fortran,  Yacc, Lex,  Qt and
  SWIG,  and building  TeX  and LaTeX  documents. Easily  extensible
  through user-defined Builders for other languages or file types. 
* Built-in support  for fetching source  files from SCCS,  RCS, CVS,
  BitKeeper and Perforce. 
* Built-in support for Microsoft  Visual Studio .NET and past Visual
  Studio  versions, including  generation  of .dsp,  .dsw, .sln  and
  .vcproj files. 

  

* Reliable  detection   of  build  changes   using  MD5  signatures;
  optional, configurable support for traditional timestamps. 
* Improved  support for parallel  builds--like make  -j but  keeps N
  jobs running simultaneously regardless of directory hierarchy. 
* Integrated  Autoconf-like  support  for  finding  #include  files,
  libraries, functions and typedefs. 
* Global view of all  dependencies--no more multiple build passes or
  reordering targets to build everything. 
* Building from central repositories of source code and/or pre-built
  targets. 
* Ability  to share  built files  in a  cache to  speed  up multiple
  builds. 
* Designed from  the ground up for cross-platform  builds, and known
  to  work  on  Linux,  other  POSIX systems  (including  AIX,  *BSD
  systems,  HP/UX, IRIX  and Solaris),  Windows  NT, Mac  OS X,  and
  OS/2. 

Best of  all: all of the  features mentioned above are  here today, they
work,  and they're stable.  We ensure  that today's  functionality isn't
broken  by tomorrow's  release  through rigorous  use  of a  development
methodology that  adds incrementally to  an extensive set  of regression
tests: non-comment lines of test code outnumber lines of production code
by more than 2 to 1. 

(it does exist in Debian ;) but may be a little bit out of date)

Cheers,

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.

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


Re: [kaffe] build breakage

2003-09-23 Thread Dalibor Topic
James Simmons wrote:

It works now. The only problem is I need very specific build tools to make 
it work. The laptop I have on my current system is barfed. So only one 
laptop with kaffe works. I really really hate teh build system :-(

At least something ... I'm glad it at least kind of works for you now. 
If the problem is in the building of class library, just send me a 
message, and I'll put a distribution online on kaffe.org/~robilad from 
the current sources. Distribution have the nice property that you don;t 
have to rebuild the class library.

So if you want to play with kaffe from CVS, but class library 
compilation breakage prevents you from doing so, drop me an e-mail, and 
I'll try to help. ;)

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


Re: [kaffe] build breakage

2003-09-23 Thread James Simmons

> Really weird, I'm configuring with --enable-debug --enable-xdebugging 
> and I'm not seing it. Could you 'cvs -qz9 update -APd' and try again, 
> just for sure that you don't have some old sources stuck in your 
> checkout? Or come over to the irc channel, and we can discuss this online.

It works now. The only problem is I need very specific build tools to make 
it work. The laptop I have on my current system is barfed. So only one 
laptop with kaffe works. I really really hate teh build system :-(


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


Re: [kaffe] build breakage

2003-09-23 Thread Dalibor Topic
James Simmons wrote:
On Mon, 22 Sep 2003, Dalibor Topic wrote:


James Simmons wrote:

java/io/RandomAccessFile.java:122: error:Cannot find type 
"java/io/FileDescriptor/READ"
[ checked body of java/io/RandomAccessFile.java in 3 ms ]
Hi James,

I assume i386-linux? ./configure && make ?


Yeap. I tested it again. Same problem.
Really weird, I'm configuring with --enable-debug --enable-xdebugging 
and I'm not seing it. Could you 'cvs -qz9 update -APd' and try again, 
just for sure that you don't have some old sources stuck in your 
checkout? Or come over to the irc channel, and we can discuss this online.

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


Re: [kaffe] build breakage

2003-09-22 Thread Dalibor Topic
James Simmons wrote:
java/io/RandomAccessFile.java:122: error:Cannot find type 
"java/io/FileDescriptor/READ"
[ checked body of java/io/RandomAccessFile.java in 3 ms ]
Hi James,

I assume i386-linux? ./configure && make ?

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


Re: [kaffe] build breakage

2003-09-22 Thread James Simmons

On Mon, 22 Sep 2003, Dalibor Topic wrote:

> James Simmons wrote:
> > java/io/RandomAccessFile.java:122: error:Cannot find type 
> > "java/io/FileDescriptor/READ"
> > [ checked body of java/io/RandomAccessFile.java in 3 ms ]
> 
> Hi James,
> 
> I assume i386-linux? ./configure && make ?

Yeap. I tested it again. Same problem.



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


[kaffe] build breakage

2003-09-22 Thread James Simmons

java/io/RandomAccessFile.java:122: error:Cannot find type 
"java/io/FileDescriptor/READ"
[ checked body of java/io/RandomAccessFile.java in 3 ms ]




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