PatchSet 7768 Date: 2008/02/22 07:13:23 Author: robilad Branch: HEAD Tag: (none) Log: updated cross compilation docs
2008-02-21 Dalibor Topic <[EMAIL PROTECTED]> * FAQ/FAQ.cross-compiling: Documented that dependencies need to be cross compiled first. Members: ChangeLog:1.5268->1.5269 FAQ/FAQ.cross-compiling:1.3->1.4 Index: kaffe/ChangeLog diff -u kaffe/ChangeLog:1.5268 kaffe/ChangeLog:1.5269 --- kaffe/ChangeLog:1.5268 Fri Feb 22 07:05:38 2008 +++ kaffe/ChangeLog Fri Feb 22 07:13:23 2008 @@ -1,5 +1,10 @@ 2008-02-21 Dalibor Topic <[EMAIL PROTECTED]> + * FAQ/FAQ.cross-compiling: Documented that dependencies need to be + cross compiled first. + +2008-02-21 Dalibor Topic <[EMAIL PROTECTED]> + * FAQ/FAQ.requiredlibraries: Added glib. 2008-02-21 Dalibor Topic <[EMAIL PROTECTED]> Index: kaffe/FAQ/FAQ.cross-compiling diff -u kaffe/FAQ/FAQ.cross-compiling:1.3 kaffe/FAQ/FAQ.cross-compiling:1.4 --- kaffe/FAQ/FAQ.cross-compiling:1.3 Thu Jan 19 01:07:57 2006 +++ kaffe/FAQ/FAQ.cross-compiling Fri Feb 22 07:13:30 2008 @@ -44,6 +44,24 @@ directory from source directory is a good practice. This is really needed for cross compiling. +Dependencies are needed for cross compilation +============================================= + +In order to successfully cross-compile Kaffe, you will need to +start with the dependencies listed in FAQ.requiredlibraries, and +cross-compile them first. + +It's easiest to cross compile all dependencies using the same +--prefix to configure their builds, so that all the dependencies +end up being installed in the same directory hierachy. + +When configuring kaffe for cross-compilation, you'll need to +tell Kaffe's configure script where to look for the cross-compiled +libraries using --with-includes and --with-libs options to point +Kaffe to the include and library files, respectively. You'll also +need to set the environment variable PKG_CONFIG_PATH to point to +the location of the .pc files for the cross-compiled libraries. + 'kaffeh' is needed for cross compilation ======================================== The way how to supply options to configure is roughly ok, but it is _______________________________________________ kaffe mailing list kaffe@kaffe.org http://kaffe.org/cgi-bin/mailman/listinfo/kaffe