mirror of
https://github.com/xenia-project/xenia.git
synced 2025-02-20 03:31:08 +00:00
Checking in binutils to enable ppc cross compile.
This commit is contained in:
parent
e0951d012e
commit
e37821cf36
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -10,3 +10,6 @@
|
||||
[submodule "third_party/gflags"]
|
||||
path = third_party/gflags
|
||||
url = https://github.com/benvanik/gflags.git
|
||||
[submodule "third_party/binutils"]
|
||||
path = third_party/binutils
|
||||
url = http://sourceware.org/git/binutils.git
|
||||
|
1
third_party/binutils
vendored
Submodule
1
third_party/binutils
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 21047d50a8d6b430dfcdb09dd81ffa158406205f
|
@ -223,6 +223,26 @@ class SetupCommand(Command):
|
||||
return 1
|
||||
print ''
|
||||
|
||||
# Binutils.
|
||||
print '- binutils...'
|
||||
if not os.path.exists('build/binutils'):
|
||||
os.makedirs('build/binutils')
|
||||
os.chdir('build/binutils')
|
||||
shell_call(' '.join([
|
||||
'../../third_party/binutils/configure',
|
||||
'--disable-debug',
|
||||
'--disable-dependency-tracking',
|
||||
'--disable-werror',
|
||||
'--enable-interwork',
|
||||
'--enable-multilib',
|
||||
'--target=powerpc-none-elf',
|
||||
'--with-gnu-ld',
|
||||
'--with-gnu-as',
|
||||
]))
|
||||
shell_call('make')
|
||||
os.chdir(cwd)
|
||||
print ''
|
||||
|
||||
# LLVM.
|
||||
print '- preparing llvm...'
|
||||
#generator = 'Visual Studio 10 Win64'
|
||||
|
Loading…
x
Reference in New Issue
Block a user