diff options
author | Barcsik Attila <[email protected]> | 2011-01-06 18:16:53 +0800 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-05 14:32:53 +0800 |
commit | b649eb1b65614c6f1b2bc734cfb40580b931dc1d (patch) | |
tree | ceb405ed52c17d7c6a0245e8083163c4de6e533f | |
parent | 3cb1c4f7808ffa97981f4f8d0eb6b98bf2160e0e (diff) |
Fixing build scripts for Solaris systems.
-rwxr-xr-x | make/gluegen-cpptasks-base.xml | 72 |
1 files changed, 33 insertions, 39 deletions
diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index d0e6b9a..3fdc312 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -607,37 +607,33 @@ </defineset> </compiler> -<!-- - SOLARIS is currently disabled .. - - <compiler id="compiler.cfg.solaris" name="suncc"> - <defineset> - <define name="SOLARIS" /> - </defineset> + <!-- SOLARIS compiler configuration --> + + <compiler id="compiler.cfg.solaris" name="gcc"> + <defineset> + <define name="SOLARIS" /> + </defineset> + </compiler> + + <compiler id="compiler.cfg.solaris.sparcv9" name="gcc"> + <compilerarg value="-fast" /> + <compilerarg value="-xchip=ultra" /> + <compilerarg value="-xarch=v9a" /> + <defineset> + <define name="SOLARIS" /> + </defineset> + </compiler> + + <compiler id="compiler.cfg.solaris.amd64" name="gcc"> + <compilerarg value="-fast" /> + <compilerarg value="-xchip=opteron" /> + <compilerarg value="-xarch=amd64" /> + <compilerarg value="-xcache=64/64/2:1024/64/16" /> + <defineset> + <define name="SOLARIS" /> + </defineset> </compiler> - <compiler id="compiler.cfg.solaris.sparcv9" name="suncc"> - <compilerarg value="-fast" /> - <compilerarg value="-xchip=ultra" /> - <compilerarg value="-xarch=v9a" /> - <defineset> - <define name="SOLARIS" /> - </defineset> - </compiler> - - <compiler id="compiler.cfg.solaris.amd64" name="suncc"> - <compilerarg value="-fast" /> - <compilerarg value="-xchip=opteron" /> - <compilerarg value="-xarch=amd64" /> - --> - <!-- <compilerarg value="-xcache=64/64/2:1024/64/16" /> --> -<!-- - <defineset> - <define name="SOLARIS" /> - </defineset> - </compiler> - --> - <!-- MacOSX compiler configuration --> <compiler id="compiler.cfg.macosx" name="gcc"> @@ -755,20 +751,18 @@ <linkerarg value="-m64"/> </linker> -<!-- - SOLARIS is currently unsupported + <!-- SOLARIS linker configuration --> - <linker id="linker.cfg.solaris" name="suncc"> - </linker> + <linker id="linker.cfg.solaris" name="gcc"> + </linker> - <linker id="linker.cfg.solaris.sparcv9" name="suncc"> - <linkerarg value="-xarch=v9a" /> - </linker> + <linker id="linker.cfg.solaris.sparcv9" name="gcc"> + <linkerarg value="-xarch=v9a" /> + </linker> - <linker id="linker.cfg.solaris.amd64" name="suncc"> - <linkerarg value="-xarch=amd64" /> + <linker id="linker.cfg.solaris.amd64" name="gcc"> + <linkerarg value="-xarch=amd64" /> </linker> ---> <!-- MacOSX linker configuration --> |