Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
64d883a3
Commit
64d883a3
authored
Nov 06, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Nov 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Add support for building on powerpc64.
With much help from Austin English.
parent
2741edb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
utils.c
tools/winebuild/utils.c
+18
-2
No files found.
tools/winebuild/utils.c
View file @
64d883a3
...
@@ -358,7 +358,15 @@ struct strarray *get_as_command(void)
...
@@ -358,7 +358,15 @@ struct strarray *get_as_command(void)
strarray_add
(
args
,
"-arch"
,
(
force_pointer_size
==
8
)
?
"x86_64"
:
"i386"
,
NULL
);
strarray_add
(
args
,
"-arch"
,
(
force_pointer_size
==
8
)
?
"x86_64"
:
"i386"
,
NULL
);
break
;
break
;
default:
default:
strarray_add_one
(
args
,
(
force_pointer_size
==
8
)
?
"--64"
:
"--32"
);
switch
(
target_cpu
)
{
case
CPU_POWERPC
:
strarray_add_one
(
args
,
(
force_pointer_size
==
8
)
?
"-a64"
:
"-a32"
);
break
;
default:
strarray_add_one
(
args
,
(
force_pointer_size
==
8
)
?
"--64"
:
"--32"
);
break
;
}
break
;
break
;
}
}
}
}
...
@@ -389,7 +397,15 @@ struct strarray *get_ld_command(void)
...
@@ -389,7 +397,15 @@ struct strarray *get_ld_command(void)
strarray_add
(
args
,
"-m"
,
(
force_pointer_size
==
8
)
?
"elf_x86_64_fbsd"
:
"elf_i386_fbsd"
,
NULL
);
strarray_add
(
args
,
"-m"
,
(
force_pointer_size
==
8
)
?
"elf_x86_64_fbsd"
:
"elf_i386_fbsd"
,
NULL
);
break
;
break
;
default:
default:
strarray_add
(
args
,
"-m"
,
(
force_pointer_size
==
8
)
?
"elf_x86_64"
:
"elf_i386"
,
NULL
);
switch
(
target_cpu
)
{
case
CPU_POWERPC
:
strarray_add
(
args
,
"-m"
,
(
force_pointer_size
==
8
)
?
"elf64ppc"
:
"elf32ppc"
,
NULL
);
break
;
default:
strarray_add
(
args
,
"-m"
,
(
force_pointer_size
==
8
)
?
"elf_x86_64"
:
"elf_i386"
,
NULL
);
break
;
}
break
;
break
;
}
}
}
}
...
...
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