Checking in binutils to enable ppc cross compile.
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -10,3 +10,6 @@
|
|||||||
[submodule "third_party/gflags"]
|
[submodule "third_party/gflags"]
|
||||||
path = third_party/gflags
|
path = third_party/gflags
|
||||||
url = https://github.com/benvanik/gflags.git
|
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
Submodule third_party/binutils added at 21047d50a8
@@ -223,6 +223,26 @@ class SetupCommand(Command):
|
|||||||
return 1
|
return 1
|
||||||
print ''
|
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.
|
# LLVM.
|
||||||
print '- preparing llvm...'
|
print '- preparing llvm...'
|
||||||
#generator = 'Visual Studio 10 Win64'
|
#generator = 'Visual Studio 10 Win64'
|
||||||
|
|||||||
Reference in New Issue
Block a user