Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
4ea80913
Unverified
Commit
4ea80913
authored
Aug 21, 2021
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Aug 21, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5533 from dantecatalfamo/serenity-32bit-crossbuild
Add SerenityOS crossbuild
parents
ca295a2c
7f290beb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
build_config/serenity.rb
build_config/serenity.rb
+26
-0
No files found.
build_config/serenity.rb
0 → 100644
View file @
4ea80913
# Cross compiling configuration for SerenityOS
# Graphical Unix-like operating system for x86 computers.
# https://github.com/SerenityOS/serenity
#
# Should be built using the SerenityOS Ports system
# https://github.com/SerenityOS/serenity/tree/master/Ports
#
# As of 2021/08/20, SERENITY_ARCH is defined in the SerenityOS Ports
# build script to always be either "i686" or "x86_64"
MRuby
::
CrossBuild
.
new
(
'serenity'
)
do
|
conf
|
conf
.
toolchain
:gcc
conf
.
archiver
.
command
=
"
#{
ENV
[
'SERENITY_ARCH'
]
}
-pc-serenity-ar"
conf
.
linker
.
command
=
"
#{
ENV
[
'SERENITY_ARCH'
]
}
-pc-serenity-g++"
conf
.
cxx
.
command
=
"
#{
ENV
[
'SERENITY_ARCH'
]
}
-pc-serenity-g++"
conf
.
cxx
.
defines
<<
(
ENV
[
'SERENITY_ARCH'
].
include?
(
'64'
)
?
'MRB_64BIT'
:
'MRB_32BIT'
)
conf
.
cc
.
command
=
"
#{
ENV
[
'SERENITY_ARCH'
]
}
-pc-serenity-gcc"
conf
.
cc
.
defines
<<
(
ENV
[
'SERENITY_ARCH'
].
include?
(
'64'
)
?
'MRB_64BIT'
:
'MRB_32BIT'
)
conf
.
gembox
'full-core'
conf
.
test_runner
.
command
=
'env'
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment