Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 565696 Details for
Bug 461874
sys-devel/crossdev: change build CFLAGS/etc... into BUILD_CFLAGS/etc... and generate clean/default CFLAGS in package.env
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
crossdev script for multiple mips targets
crossdev-mips.sh (text/plain), 1.41 KB, created by
Joshua Kinard
on 2019-02-18 06:05:04 UTC
(
hide
)
Description:
crossdev script for multiple mips targets
Filename:
MIME Type:
Creator:
Joshua Kinard
Created:
2019-02-18 06:05:04 UTC
Size:
1.41 KB
patch
obsolete
>#!/bin/bash > >CROSSDEV_BIN="/usr/bin/crossdev" > ># binutils >BINUTILS_VER="2.31.1-r3" > ># gcc >#GCC_VER="7.4.0" >GCC_VER="8.2.0-r5" > ># kernel >KERNEL_VER="4.19" > ># abi >#ABI="o32" >ABI="n32" >#ABI="n64" > ># glibc >LIBC_VER="2.28-r3" >TARGET_CHOST="mips64-unknown-linux-gnu" > ># uclibc-ng >#LIBC_VER="1.0.30-r1" >#TARGET_CHOST="mips64-unknown-linux-uclibc" > ># musl >#LIBC_VER="1.1.19" >#TARGET_CHOST="mips64-unknown-linux-musl" > ># misc >XTRA="--without-headers" >S2_USE="" >S3_USE="" >S4_USE="-sanitize" > > >stage2() { > unset ASFLAGS > unset LDFLAGS > unset CFLAGS > unset CXXFLAGS > unset CPPFLAGS > export USE=${S2_USE} > > ${CROSSDEV_BIN} --b ${BINUTILS_VER} --g ${GCC_VER} \ > --l ${LIBC_VER} --k ${KERNEL_VER} -s2 -A ${ABI} \ > -t ${TARGET_CHOST} ${XTRA} -P -v >} > >stage3() { > export ASFLAGS="-march=mips4 -mtune=mips4" > export LDFLAGS="-Wl,-O1 -Wl,--as-needed" > export CFLAGS="-O2 -pipe -march=mips4 -mtune=mips4 -mplt" > export CXXFLAGS=${CFLAGS} > export USE=${S3_USE} > > ASFLAGS=${ASFLAGS} CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS} \ > ${CROSSDEV_BIN} --b ${BINUTILS_VER} --g ${GCC_VER} \ > --l ${LIBC_VER} --k ${KERNEL_VER} -s3 -A ${ABI} \ > -t ${TARGET_CHOST} ${XTRA} -P -v >} > >stage4() { > unset ASFLAGS > unset LDFLAGS > unset CFLAGS > unset CPPFLAGS > unset CXXFLAGS > export USE=${S4_USE} > > ${CROSSDEV_BIN} --b ${BINUTILS_VER} --g ${GCC_VER} \ > --l ${LIBC_VER} --k ${KERNEL_VER} -s4 -A ${ABI} \ > --ex-gdb -t ${TARGET_CHOST} ${XTRA} -P -v >} > >stage2 && stage3 && stage4 >#stage2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 461874
:
342192
|
342194
| 565696