|
Mantis - OCaml
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4670 | OCaml general | feature | always | 2008-12-09 05:55 | 2009-03-28 16:21 |
|
|
|||||
| Reporter: | xiey | Platform: | |||
| Assigned To: | xleroy | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | resolved | Product Version: | 3.11.0+beta | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| 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 |
||||
| Steps To Reproduce: | |||||
| 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'; |
||||
| Relationships | |||||
| Attached Files: | |||||
|
|
|||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-12-09 05:55 | xiey | New Issue | |||
| 2008-12-12 09:49 | xleroy | Status | new => assigned | ||
| 2008-12-12 09:49 | xleroy | Assigned To | => xleroy | ||
| 2008-12-14 19:43 | xleroy | Note Added: 0004801 | |||
| 2008-12-14 19:43 | xleroy | Status | assigned => feedback | ||
| 2008-12-21 23:18 | xiey | Note Added: 0004807 | |||
| 2009-03-28 16:19 | xleroy | Note Added: 0004865 | |||
| 2009-03-28 16:19 | xleroy | Status | feedback => resolved | ||
| 2009-03-28 16:21 | xleroy | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||