Hi Nathan,

On Sat, Mar 28, 2009 at 8:13 PM, Nathan Brink
<[email protected]> wrote:
> layman -f -o http://virtb.visibleassets.com:2080/layman.conf -a cegcc
> You cegcc-mingw32ce ebuild worked out great. I even compiled my first CE
> program from a hello-world example :-).
> Now, it'd be nice if your ebuild could hook into gcc-config or crossdev
> somehow... but at least it works

Thanks for pointing out the '-f' flag - that's quite important I would imagine.

Gcc is a very tricky beast. The Gentoo folks (particularly Mike
Frysinger / vapier) have worked very hard to quasi-standardize
toolchain installation directories (library, header, and 'sysroot') so
that everything 'just works'. Why it 'just works', is that certain
paths (rpaths) need to be hard-coded for the toolchain to work
properly. To do that the compiler needs to be built from scratch, so a
binary toolchain might not be flexible enough.

In spite of differing rpaths, gcc-config might still work. Let me give
it a try. If it works out, I'll update the overlay and post back to
this list ... I guess I should post to gentoo-embedded as well.

Cheers,

C
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret

Reply via email to