Skip to content
Snippets Groups Projects
Commit 85c9daef authored by Raymond Toy's avatar Raymond Toy
Browse files

Add support for ppc. Not yet working, but OPT_EXTRA value appears to

be needed, especially the __LINKEDIT address, like on i386.
parent df425339
No related branches found
No related tags found
No related merge requests found
...@@ -99,14 +99,17 @@ case $uname_s in ...@@ -99,14 +99,17 @@ case $uname_s in
# when creating the executable on 10.8. (See ticket:112.) # when creating the executable on 10.8. (See ticket:112.)
OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -rdynamic -mmacosx-version-min=10.5" OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -rdynamic -mmacosx-version-min=10.5"
OS_LIBS=
;; ;;
powerpc) powerpc)
# Nothing needed for ppc? # See Config.ppc_darwin Like i386, __LINKEDIT is linked
# just after the dynamic space which messes things up, so
# we move it to a diffferent address. The address below
# appears to be free.
OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -mmacosx-version-min=10.4 -static-libgcc"
OS_LIBS="-lSystem -lc -lm"
;; ;;
esac esac
# See Config.x86_darwin
OS_LIBS=
;; ;;
SunOS) SunOS)
# A quick test indicates that gcc will accept the following # A quick test indicates that gcc will accept the following
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment