| Anonymous | Login | Signup for a new account | 2009-11-21 16:37 CET |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0004670 | [OCaml] OCaml general | feature | always | 2008-12-09 05:55 | 2009-03-28 16:21 | ||||
| Reporter | xiey | View Status | public | ||||||
| Assigned To | xleroy | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | resolved | Product Version | 3.11.0+beta | ||||||
| Summary | 0004670: patch for compiling on Solaris x86-64 | ||||||||
| Description |
With minor tweaks to the configure script, ocaml 3.11.0 can be compiled on Solaris x86-64. Can the following patch be accepted into future releases? Thanks, yichen |
||||||||
| Additional Information |
--- configure 2008-11-07 05:34:16.000000000 -0500 +++ ../configure 2008-12-08 23:42:01.636000000 -0500 @@ -617,7 +617,11 @@ i[3456]86-*-linux*) arch=i386; system=linux_`sh ./runtest elf.c`;; i[3456]86-*-*bsd*) arch=i386; system=bsd_`sh ./runtest elf.c`;; i[3456]86-*-nextstep*) arch=i386; system=nextstep;; - i[3456]86-*-solaris*) arch=i386; system=solaris;; + i[3456]86-*-solaris*) if $arch64; then + arch=amd64; system=solaris + else + arch=i386; system=solaris + fi;; i[3456]86-*-beos*) arch=i386; system=beos;; i[3456]86-*-cygwin*) arch=i386; system=cygwin;; i[3456]86-*-darwin*) if $arch64; then @@ -686,6 +690,7 @@ if $arch64; then partialld="ld -r -arch ppc64"; fi;; *,gcc*,cygwin,*) nativecccompopts="$gcc_warnings -U_WIN32";; amd64,gcc*,macosx,*) partialld="ld -r -arch x86_64";; + amd64,gcc*,solaris,*) partialld="ld -r -m elf_x86_64";; *,gcc*,*,*) nativecccompopts="$gcc_warnings";; esac @@ -699,6 +704,8 @@ aspp='gcc -c';; amd64,*,macosx) as='as -arch x86_64' aspp='gcc -arch x86_64 -c';; + amd64,*,solaris) as='as --64' + aspp='gcc -m64 -c';; amd64,*,*) as='as' aspp='gcc -c';; arm,*,*) as='as'; |
||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2008 Mantis Group |