LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-25-2012, 08:26 AM   #1
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.1 (3.18.0) UEFI enabled
Posts: 360

Rep: Reputation: 77
Smile One place to build them all!


I just built openjdk 7u5 yesterday. A quick look at the slackbuild shows the same script now supports arm chips as well as the x86 group.
Just saying!
I think this is pretty amazing.

john

Just trying to give credit as it is due.
If you look at Alien's slackbuild it is a dramatic change.

Last edited by AlleyTrotter; 06-26-2012 at 03:36 PM. Reason: backup
 
Old 06-26-2012, 01:25 AM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,827
Blog Entries: 15

Rep: Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184
Most slackbuilds out there all have the options for building for x86, x86-64, and ARM architectures as per their design.
 
Old 06-26-2012, 04:29 AM   #3
55020
Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 431
Blog Entries: 4

Rep: Reputation: 436Reputation: 436Reputation: 436Reputation: 436Reputation: 436
Yeah, but our pal Alien Bob has been quietly busy again. This (e.g. libatasmart.SlackBuild) is new in yesterday's big update:

Code:
if [ -z "$ARCH" ]; then
  case "$MARCH" in
    i?86)    export ARCH=i486 ;;
    armv7hl) export ARCH=$MARCH ;;
    arm*)    export ARCH=arm ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
    *)       export ARCH=$MARCH ;;
  esac
fi

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
elif [ "$ARCH" = "armv7hl" ]; then
  SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
  LIBDIRSUFFIX=""
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

case "$ARCH" in
    arm*) TARGET=$ARCH-slackware-linux-gnueabi ;;
    *)    TARGET=$ARCH-slackware-linux ;;
esac
A nice incremental change, but as a new Pi user I'd perhaps like a way to set my own SLKCFLAGS, something like

Code:
else
  SLKCFLAGS="${SLKCFLAGS:-O2}"
  LIBDIRSUFFIX=""
fi
 
1 members found this post helpful.
Old 06-26-2012, 04:35 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,496

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
Quote:
Originally Posted by 55020 View Post
Yeah, but our pal Alien Bob has been quietly busy again. This (e.g. libatasmart.SlackBuild) is new in yesterday's big update:
hadn't noticed that, nice catch

Quote:
A nice incremental change, but as a new Pi user I'd perhaps like a way to set my own SLKCFLAGS, something like

Code:
else
  SLKCFLAGS="${SLKCFLAGS:-O2}"
  LIBDIRSUFFIX=""
fi
it has been asked already in the past and surely would be real handy
 
Old 06-26-2012, 02:56 PM   #5
dwblas
Member
 
Registered: Jun 2011
Posts: 58

Rep: Reputation: Disabled
I will also check slacky.eu if it is not available on slackware.com or slackbuilds.org.
 
  


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
[SOLVED] Mplayer place in KDE, lost icon, wrong place. firekage Slackware 4 01-24-2012 03:23 PM
May not be the right place to post this but was no better place. Knightron LQ Suggestions & Feedback 5 03-13-2011 04:24 PM
LXer: Add an Auto-Incrementing Build-Number to Your Build Process LXer Syndicated Linux News 0 07-09-2008 02:00 AM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 10:51 PM


All times are GMT -5. The time now is 08:21 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