From fnaumann@mail.cs.uni-magdeburg.de Sun Sep 5 20:11:36 2004 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: mint@lists.fishpool.fi From: =?ISO-8859-1?Q?Philipp_Donz=E9?= Subject: [MiNT] mintlib cross-compile install Date: Sat, 4 Sep 2004 18:03:44 +0200 X-Mailer: Apple Mail (2.619) Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: philipp.donze@epfl.ch Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel Hi, I got mintlib compile but it gave errors when installing. The problem was that there are hardcoded paths in the 'include/clean-include' file. It checks for /usr/include and /usr/local/include which is certainly incorrect in a cross-compilation system! Further it's "make-system" seams to be inconsistent in comparison with the content of 'lib' (gemlib, cflib, gemma): it expects the prefix variable named "prefix" but when one compiles other libraries we use 'PREFIX' to declare the path. IMO it would be nice that everything from CVS can be compiled with the same command. make CROSS=yes PREFIX=/usr/local/cross-tools/m68k-atari-mint all install or make CROSS=yes prefix=/usr/local/cross-tools/m68k-atari-mint all install regards Philipp