Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
ae6644ce
Verified
Commit
ae6644ce
authored
6 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.redox-os.org/redox-os/cookbook
parents
757c61e2
5e24c0d3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/gcc/recipe.sh
+8
-3
8 additions, 3 deletions
recipes/gcc/recipe.sh
recipes/gnu-binutils/recipe.sh
+6
-1
6 additions, 1 deletion
recipes/gnu-binutils/recipe.sh
with
14 additions
and
4 deletions
recipes/gcc/recipe.sh
+
8
−
3
View file @
ae6644ce
GIT
=
https://gitlab.redox-os.org/redox-os/gcc.git
BRANCH
=
redox
DEPENDS
=
"gnu-binutils newlib"
BUILD_DEPENDS
=(
relibc
)
DEPENDS
=
"gnu-binutils relibc"
function
recipe_version
{
printf
"r%s.%s"
"
$(
git rev-list
--count
HEAD
)
"
"
$(
git rev-parse
--short
HEAD
)
"
...
...
@@ -19,8 +20,12 @@ function recipe_build {
cp
config.sub mpfr/config.sub
cp
-f
config.sub mpc/config.sub
./configure
--host
=
${
HOST
}
--target
=
${
HOST
}
--prefix
=
/
--enable-static
--disable-shared
--disable-dlopen
--disable-nls
--enable-languages
=
c,c++
make all-gcc all-target-libgcc all-target-libstdc++-v3
sysroot
=
"
${
PWD
}
/../sysroot"
mkdir
-p
"
$sysroot
/usr"
ln
-sf
"
$sysroot
/include"
"
$sysroot
/usr/include"
ln
-sf
"
$sysroot
/lib"
"
$sysroot
/usr/lib"
./configure
--host
=
${
HOST
}
--target
=
${
HOST
}
--prefix
=
/
--with-sysroot
=
/
--with-build-sysroot
=
"
$sysroot
"
--enable-static
--disable-shared
--disable-dlopen
--disable-nls
--enable-languages
=
c,c++
make
-j
"
$(
nproc
)
"
all-gcc all-target-libgcc all-target-libstdc++-v3
skip
=
1
}
...
...
This diff is collapsed.
Click to expand it.
recipes/gnu-binutils/recipe.sh
+
6
−
1
View file @
ae6644ce
GIT
=
https://gitlab.redox-os.org/redox-os/binutils-gdb.git
BUILD_DEPENDS
=(
relibc
)
function
recipe_version
{
printf
"r%s.%s"
"
$(
git rev-list
--count
HEAD
)
"
"
$(
git rev-parse
--short
HEAD
)
"
...
...
@@ -11,7 +12,11 @@ function recipe_update {
}
function
recipe_build
{
./configure
--host
=
${
HOST
}
--target
=
${
HOST
}
--prefix
=
/
--with-sysroot
=
/usr/
$HOST
--disable-gdb
--disable-nls
--disable-werror
sysroot
=
"
${
PWD
}
/../sysroot"
mkdir
-p
"
$sysroot
/usr"
ln
-sf
"
$sysroot
/include"
"
$sysroot
/usr/include"
ln
-sf
"
$sysroot
/lib"
"
$sysroot
/usr/lib"
./configure
--host
=
${
HOST
}
--target
=
${
HOST
}
--prefix
=
/
--with-sysroot
=
/
--with-build-sysroot
=
"
$sysroot
"
--disable-gdb
--disable-nls
--disable-werror
make
skip
=
1
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment