Hi ! On Wednesday 07 July 2010 04:22:38 [email protected] wrote: > Hi!� > > I am doing meego arm-based development now. But I failed to build my > kernel with toolchain offered in repo.meego.com. > > Here are my steps: > > 1. Setup a local obs with binary rpm in repo.meego.com Did you import armv7l ?
> 2. Add a project with project configuration > from�git://gitorious.org/meego-developer-tools/obs-project-config.git > 3. Edit the project configuration file with following sections to use > cross toolchain As you see in http://meego.gitorious.org/meego-developer-tools/obs-project- config the cross-parts are already in. No need to add them or others twice. Don't add these changes, the correct packages are already added and most of the packages below are not meant for usage _inside_ OBS. > Preinstall: cpp cross-armv7l-gcc cross-armv7l-binutils cross-armv7l-glibc > cross-armv7l-glibc-devel cross-armv7l-glibc-headers > cross-armv7l-kernel-headersRequired: cpp cross-armv7l-gcc > cross-armv7l-binutils cross-armv7l-glibc cross-armv7l-glibc-devel > cross-armv7l-glibc-headers cross-armv7l-kernel-headersPrefer: cpp > cross-armv7l-gcc cross-armv7l-binutils cross-armv7l-glibc > cross-armv7l-glibc-devel cross-armv7l-glibc-headers > cross-armv7l-kernel-headers To clarify: these are the basic bits of a x86->ARM cross toolchain for using on a x86 meego host. Building ARM _inside_ OBS works different. > 4. Add a package and edit the spec file with following sections to use > the cross toolchain. > export�PATH="/opt/cross/bin:/opt/cross/libexec:$PATH"� Negative - you need to mirror armv7, install our version of qemu for the emulation and build with an armv7 scheduler. > > But I start to build the package, I got a error meesage: > /opt/cross/bin/armv7l-meego-linux-gnueabi-ld: skipping incompatible /opt/cr > oss/libexec/../lib/gcc/armv7l-meego-linux-gnueabi/4.4.2/libgcc.a when searc > hing for -lgcc > /opt/cross/bin/armv7l-meego-linux-gnueabi-ld: cannot find -lgcc > collect2: ld returned 1 exit status You're probably mixing arm + x86 build. Best, Jan-Simon _______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
