#2951: Add support for amd64-solaris2 platform
--------------------------------+-------------------------------------------
    Reporter:  kgardas          |        Owner:  simonmar   
        Type:  feature request  |       Status:  new        
    Priority:  normal           |    Milestone:  6.12 branch
   Component:  Compiler         |      Version:  6.10.1     
    Severity:  normal           |   Resolution:             
    Keywords:                   |   Difficulty:  Unknown    
    Testcase:                   |           Os:  Solaris    
Architecture:  x86_64 (amd64)   |  
--------------------------------+-------------------------------------------
Comment (by kgardas):

 I would also like to add my analysis, if you don't have amd64/solaris2
 platform at hands. So Solaris supports 2 ABIs, provides gcc 3.4.3 which by
 default generates 32bit code for i386 ABI. It might be also used to
 generate 64bit code for amd64 ABI if started with -m64 command-line
 option. If I'm right, then for GHC build, we do have i386 ABI GHC for
 Solaris in binary form and so stage1 compiler should also be compiled for
 i386, but it should be a cross-compiler run on i386 generating code for
 amd64 ABI. Stage2 compiler should then be amd64 ABI and also in stage2
 build and rts build executed gcc should be used with -m64 option to get
 64bit binary. Now, the question is just where to hack to make it real. :-)
 (if I'm right of course)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2951#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to