LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2013, 11:41 PM   #1
alexchen
LQ Newbie
 
Registered: Feb 2013
Location: china
Distribution: slackware
Posts: 13

Rep: Reputation: Disabled
Smile 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 ???
 
Old 03-20-2013, 12:58 AM   #2
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Devuan
Posts: 179

Rep: Reputation: 122Reputation: 122
You dubbleposted this question, I believe. This could lead to misunderstandings. Have you allready consulted this site?
 
Old 03-20-2013, 02:14 AM   #3
alexchen
LQ Newbie
 
Registered: Feb 2013
Location: china
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thank you .
 
Old 03-20-2013, 02:19 AM   #4
alexchen
LQ Newbie
 
Registered: Feb 2013
Location: china
Distribution: slackware
Posts: 13

Original Poster
Rep: Reputation: Disabled
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.

Last edited by alexchen; 03-20-2013 at 02:28 AM.
 
Old 03-22-2013, 11:50 AM   #5
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,185

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

Please search the Internet for distcc.
 
Old 03-22-2013, 11:57 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,140

Rep: Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208
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/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing I/O in Raspberry Pi Completely Clueless Linux - Embedded & Single-board computer 2 01-19-2013 01:08 PM
Raspberry PI and NAS dragonix Linux - Hardware 7 11-21-2012 09:01 AM
Raspberry Pi project Dutch Master Linux - General 12 08-05-2012 06:48 AM
Raspberry-Pi usage TroN-0074 Linux - Hardware 4 07-20-2012 06:57 PM
LXer: Enter the element14 Pi Day ??Raspberry RoadTest? Challenge for a chance to win a Raspberry Pi c LXer Syndicated Linux News 0 03-08-2012 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration