Hi there,
From time to time I tried the cross-compiler in Kubuntu, but often ends up missing certain librarie or linking to the wrong (the PC's) ones. Using the native image to compile on-board is handy, but the problem is things are missing from the image and stuff added or symlinked to the dir where zgcc is mounted (/opt/native/arm/3.4.6-xscale-softvfp) won't work as soon as the zgcc image is mounted .
Dunno if someone has mentioned this before. Here is my dirty yet simple solution:
Just rip off everything from the zgcc image by first mounting it anywhere and then copy everything from there to /mnt/card/opt/native/arm/3.4.6-xscale-softvfp, followed by symlinking the dir to the main memory.
As a result I got many more apps compiled compared to using the zgcc image alone.
The good thing is then i can do whatever i want to the dev environment (adding, removing and symlinking things).
The downside of course is space. But since I am doing this on my 4GB SD card so this is no big deal at all.
What do you folks think? Is this a stupid way of doing things or is there a better solution?