Re: [leaf-user] Compiling for Bering 1.2 and Bering uClibc

2003-10-16 Thread JeeBak Kim
* James Neave ([EMAIL PROTECTED]) [031016 08:51]:
 Hello All,
 
 Compiling for Bering 1.2 and uClibc.
 
 Is it *only* possible to compile for Bering 1.2 with a Debian/slink
 installation?

You don't really need a separate Debian/slink installation.  The UML
build environment ( http://leaf.sourceforge.net/devel/jnilo/uml.html )
works great.

 Or can I take, say, Mandrake 9 and compile with a target OS? Just tell
 it which Glibc to use for instance. And install a different gcc.
 Will that work?

You probably could do all that you say but why bother with all the
hassle and any unforeseen compatibility issues?  Do yourself a favor and
use the UML.  You can run it within your familiar Mandrake 9 system.

 And for uClibc, compile for them instead of Glibc.

Hmm... I'm not sure if there's a UML environment for uClibc.



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] Compiling for Bering 1.2 and Bering uClibc

2003-10-16 Thread Erich Titl
Hi

At 17:41 16.10.2003, James Neave wrote:
Hello All,

Compiling for Bering 1.2 and uClibc.

Is it *only* possible to compile for Bering 1.2 with a Debian/slink
installation?
Or can I take, say, Mandrake 9 and compile with a target OS? Just tell
it which Glibc to use for instance. And install a different gcc.
Will that work?
Yu have several choices.

1) UML

2) Chroot to the slink environment, look at Lynn Avants' description/tool.

3) Build your own environment with the necessary compiler/library settings.

Erich

THINK
Püntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024  8D8A B7D4 FF9D 05B8 0A16


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


Re: [leaf-user] Compiling for Bering 1.2 and Bering uClibc

2003-10-16 Thread Martin Hejl
Hi James,

 Compiling for Bering 1.2 and uClibc.

 Is it *only* possible to compile for Bering 1.2 with a Debian/slink
 installation?
No - there is no need for a separate install or even UML for compiling 
things for uClibc (unlike with the regular Bering branch). Simply get 
the uClibc used for Bering uClibc 1.2 from www.uclibc.org (look for 
version 0.9.15) and the config/patches from 
http://cvs.sourceforge.net/viewcvs.py/leaf/src/bering-uclibc/configs/uclibc/0.9.15/
and you should be all set.

If you want to be really bleading edge, you can get buildtool (see 
http://lrp.hejl.de/devel/book1.html on how to get it and how to get 
started with it) - it takes a little more work for setup on compiling 
programs the first time, but it pays off in the long run (I surely found 
that out with the recent ssh updates). But that only works for Bering 
uClibc 2.0 (which uses uClibc 0.9.20 - hopefully soon the versions of 
uClibc will be the binary combatible between at least minor releases).

 Or can I take, say, Mandrake 9 and compile with a target OS? Just tell
 it which Glibc to use for instance. And install a different gcc.
 Will that work?
It should - have a look at the docs at uclibc.org for info on that - but 
be sure to use the exact same version of uclibc as in Bering uClibc 1.2 
when compiling - otherwise you'll run into trouble.

Martin



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html