This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: General cross compilation 'problem'.


Greetings,

I've used Scratchbox and OpenEmbedded basicly (aside from trying to crosscompile myself). Scratchbox is a good idea, but I've had too many issues with sbrsh failing (the program it uses to run all the "non-x86" code and configure scripts). And also random issues where it tries to compile stuff on the jornada when it should be using my x86.
OpenEmbedded is a massive I know, but the development rate there compaired to scratchbox is alot different. On the negativ note, OE is big as you said and theres alot of quirk patches that mess up the buildingscript files.
All "tools" have different advantages and disadvantages but currently OE fits my purposes best.


Crosstool also fits in there as a tool often used combined with others (OE,scratchbox,ptxdist). I always use it to try out new kernels, toolchains and so on. And it gives a good sense about what needs to be done before being successful in compiling it inside OE.

Havent tried ptxdist yet, but will take a look at it.

Best wishes
Kristoffer
www.jlime.com


From: Robert Schwebel <robert@schwebel.de>
To: crossgcc@sourceware.org
Subject: Re: General cross compilation 'problem'.
Date: Sat, 3 Jun 2006 12:30:58 +0200

On Fri, Jun 02, 2006 at 11:37:29PM +0200, Leon Woestenberg wrote:
> This *is* an open-source project plug:
>
> The www.openembedded.org guys have solved this problem.

And, of cause, PTXdist is also a GPLed alternative:

- http://www.pengutronix.de/software/ptxdist_en.html
- Modelled after the BuildRoot concept when it started in 2002, but
  much improved in the meantime.
- Kconfig based configuration frontend
- Very small footprint: it still fits on one disc (if you don't
  count the patches).
- keep-it-simple principle, written in make+bash
- PC simulation of embedded targets is easily possible (compile a
  complete target natively instead of cross)
- community proven and commercially supported

> As with most open-source project, it takes some time digging in before
> it starts getting productive, and documentation comes after product.

Well, that's probably the same with all OSS projects :-)

> This project took me two weeks to fully grasp; I am now happily
> cross-building whatever comes at me (toolchains, kernels, root
> filesystems, applications) by starting a builder and waiting. About 3000
> packages available, ~95% of them cross-compile properly.

We have about >400 packets for PTXdist yet, steadily growing. But the
pure number was never a goal for us, the PTXdist community does more try
to work together with the upstream projects and keep the patch load
small.

> autoconf, libtool, pkg-config is all handled correctly.

Btw, I would be interested in how you OE guys get libtool right; it
usually picks up libraries from the host: when you for example call it
with -lsomelib, libtool makes absolute paths out of it, without caring
about SYSROOT/DESTDIR. We mostly work around that by changing
-lsomething into -Wl,-lsomething, but that's only an uggly hack.

> Before this, I tried buildroot (simple, works) and to a lesser extend
> scratchbox before.

I found buildroot very nice and clean when I searched for a build tool
in 2002, but it neither had a config frontend at that time nor did it
have the goal to be a completely integrated project management tool. All
other build tools had some disadvantages, I found OE much too
heavyweight and uCLinux-dist was always a you-have-to-download-80-MB-
before-you-can-start beast.

Robert
--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


-- For unsubscribe information see http://sourceware.org/lists.html#faq




-- For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]