LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Any can help me on raspberry pi (http://www.linuxquestions.org/questions/slackware-14/any-can-help-me-on-raspberry-pi-4175454784/)

alexchen 03-19-2013 11:41 PM

Any can help me on raspberry pi
 
I want to rebuild all packages of slackware arm on raspberry pi or cross compile , and optimalize the system , how could I do, anyone can give me some method ???

Hannes Worst 03-20-2013 12:58 AM

You dubbleposted this question, I believe. This could lead to misunderstandings. Have you allready consulted this site?

alexchen 03-20-2013 02:14 AM

Thank you .

alexchen 03-20-2013 02:19 AM

My mean is that rabuild the package and use the gcc CFLAGS="-march=armv6j -mfpu=vfp -mfloat-abi=hard" ,but the Raspberry pi so solwly. So I want to use two board Raspberry pi and run the MPI , so we can build and optimalize the packages.

guanx 03-22-2013 11:50 AM

so you are asking for parallel build, not cross compile, though both can speed up your build.

Please search the Internet for distcc.

ponce 03-22-2013 11:57 AM

you can also have a shot at x-build

Code:

# Build cross binutils for use with 'distcc' for ARM targets
# by Stuart Winter <mozes@slackware.com>
###########################################################################################
# Some parts are taken from Slackware package build scripts directly.
#
# References:
# http://www.cygwin.com/ml/crossgcc/2006-12/msg00075.html
# http://www.linuxfromscratch.org/lfs/view/development/chapter05/glibc.html
# http://www.linuxfromscratch.org/lfs/view/development/chapter05/gcc-pass1.html
#
# The purpose of this is to build enough of a toolchain that I can use
# distcc to a fast x86 host from my native ARM build hosts.
# This script does not build an entire cross toolchain and the result
# in /opt/arm is pretty messy (although could easily be tidied).
#
# Additional scripts included:
#
# rc.local-addition: a method of starting distccd on the x86 host machines.
# dbuild: used on the ARM hosts as a wrapper for calling the Slackware ARM
# build scripts via distcc.  Instructions for usage are contained within the script.
#
# For the original work I did, check out this:
# ftp://ftp.arm.slackware.com/loft/oldsource/OLD_CROSS_COMPILE/ARM-compiling-bits-bobs

http://ftp.arm.slackware.com/slackwa...s/x-toolchain/


All times are GMT -5. The time now is 11:43 PM.