LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-20-2013, 12:41 AM   #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, 01:58 AM   #2
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Antix, Slackware, NetBSD
Posts: 91

Rep: Reputation: 37
You dubbleposted this question, I believe. This could lead to misunderstandings. Have you allready consulted this site?
 
Old 03-20-2013, 03: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, 03: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 03:28 AM.
 
Old 03-22-2013, 12:50 PM   #5
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,014

Rep: Reputation: 147Reputation: 147
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, 12:57 PM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,499

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:08 PM
Raspberry PI and NAS dragonix Linux - Hardware 7 11-21-2012 10:01 AM
Raspberry Pi project Dutch Master Linux - General 12 08-05-2012 07:48 AM
Raspberry-Pi usage TroN-0074 Linux - Hardware 4 07-20-2012 07: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 07:20 AM


All times are GMT -5. The time now is 05:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration