[kaffe] build no-awt no-sound

Nektarios K. Papadopoulos npapadop at inaccessnetworks.com
Tue Feb 1 08:44:50 PST 2005


Hi Dalibor,

Thanks a lot. All works fine now.
Please find attached a patch for FAQ/FAQ.classlibrary-compile to add a 
simple note about this.

BTW, a long time ago kaffe used to have a more convenient way to define 
class library profiles. You had groups of associated classes organized 
in sub-profiles (e.g. awt.files, xml.files, security.files etc) which 
one could include in the top level profile file. Some months ago this 
functionality disappeared.
Additionally, I am having a hard time tracking of new class files added 
and old class files removed during the (most welcomed) resync with 
classpath process.

Does any one else maintain an up-to-date profile (with e.g. no awt, 
swing classes) and have found a way to solve the above mentioned issue ?

Thanks again!

cheers,
Nektarios

Dalibor Topic wrote:
> Dalibor Topic wrote:
> 
>>> I have on more (not so important) problem I am facing lately (I can't 
>>> be positive about when it first appeared). I use the option:
>>> --with-class-library-profile=allbutawt.profile
>>>
>>> ...and allbutawt.profile is a text file located at libraries/javalib 
>>> listing the classes I want to be included in rt.jar. But the build 
>>> system seems to ignore me, and ALL classes are compiled and included 
>>> in rt.jar. Even though during make I read:
>>> ...
>>> mkdir lib
>>> if test "allbutawt.profile" = default; then \
>>>         /bin/sh ./rebuildLib @all.files; \
>>> else \
>>>         /bin/sh ./rebuildLib @allbutawt.profile; \
>>> fi
>>> Compiling classes from  @allbutawt.profile  using  jikes 
>>> +Pno-switchcheck +Pno-shadow +E -d 
>>> /home/u2/npapadop/build/kaffe-temp/libraries/javalib/lib
>>>
>>> BTW:
>>> jikes version is 1.22
>>> autoconf version is 2.59
>>> automake version is 1.8.4
>>>
>>> and I do configure and make on a directory different from the one 
>>> kaffe sources are located (if this should be of concern).
> 
> 
> Hi Nektarios,
> 
> I've looked into it, and using an absolute path for the profile name 
> worked for me.
> 
> Could you try passing 
> --with-class-library-profile=/path/to/kaffe/libraries/javalib/your.profile 
> to configure and report back if that works?
> 
> cheers,
> dalibor topic
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FAQ.classlibrary-compile.diff
Type: text/x-patch
Size: 630 bytes
Desc: not available
Url : http://pogo.kaffe.org/pipermail/kaffe/attachments/20050201/18617044/FAQ.classlibrary-compile.bin


More information about the kaffe mailing list