-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ad0a7f
commit 29278c0
Showing
6 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PATH=/opt/devtools-7.2/bin:/opt/devtools-6.3/bin:/opt/prefix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
CFLAGS=-D__USE_XOPEN2K8 -I/opt/devtools-6.3/include | ||
CPPFLAGS=-D__USE_XOPEN2K8 -I/opt/devtools-6.3/include | ||
LDFLAGS=-L/opt/devtools-7.2/lib64 -L/opt/devtools-6.3/lib64 -Wl,-rpath,/opt/devtools-7.2/lib64 -Wl,-rpath,/opt/devtools-6.3/lib64 | ||
PATH=/opt/devtools-8.2/bin:/opt/devtools-7.2/bin:/opt/prefix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
CFLAGS=-D__USE_XOPEN2K8 -I/opt/devtools-7.2/include | ||
CPPFLAGS=-D__USE_XOPEN2K8 -I/opt/devtools-7.2/include | ||
LDFLAGS=-L/opt/devtools-8.2/lib64 -L/opt/devtools-7.2/lib64 -Wl,-rpath,/opt/devtools-8.2/lib64 -Wl,-rpath,/opt/devtools-7.2/lib64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM centos:centos6 | ||
|
||
RUN yum install -y make wget m4 diffutils bzip2 glibc-devel | ||
RUN wget https://github.com/squeaky-pl/centos-devtools/releases/download/6.3/gcc-6.3.0-binutils-2.27-x86_64.tar.bz2 -O - | tar -C / -xj | ||
RUN wget https://github.com/squeaky-pl/centos-devtools/releases/download/7.2/gcc-7.2.0-binutils-2.29.1-x86_64.tar.bz2 -O - | tar -C / -xj |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
#!/bin/bash | ||
|
||
|
||
GCC=$(/opt/devtools-7.2/bin/gcc --version | head -n 1 | awk '{ print $3 }') | ||
BINUTILS=$(/opt/devtools-7.2/bin/ld --version | head -n 1 | awk '{ print $5 }') | ||
GCC=$(/opt/devtools-8.2/bin/gcc --version | head -n 1 | awk '{ print $3 }') | ||
BINUTILS=$(/opt/devtools-8.2/bin/ld --version | head -n 1 | awk '{ print $5 }') | ||
|
||
cp -r /opt/devtools-7.2 /opt/devtools-orig | ||
cp -r /opt/devtools-8.2 /opt/devtools-orig | ||
|
||
cd /opt/devtools-7.2/bin | ||
cd /opt/devtools-8.2/bin | ||
ln -s gcc cc | ||
cd - | ||
|
||
cd /opt/devtools-7.2 | ||
cd /opt/devtools-8.2 | ||
for i in `find -type f`; do [ -x $i ] && echo "$i"; done | xargs strip | ||
cd - | ||
|
||
tar cf - /opt/devtools-7.2 | bzip2 --best - > gcc-$GCC-binutils-$BINUTILS-$(uname -m).tar.bz2 | ||
tar cf - /opt/devtools-8.2 | bzip2 --best - > gcc-$GCC-binutils-$BINUTILS-$(uname -m).tar.bz2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters