[GHC] #2951: Add support for amd64-solaris2 platform
GHC
trac at galois.com
Fri Jan 23 12:56:52 EST 2009
#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):
Not at all! GCC by default generates 32bit code:
{{{
karel at silence:/tmp$ cat hello.c
int
main()
{
return 0;
}
karel at silence:/tmp$ gcc -o hello hello.c
karel at silence:/tmp$ file hello
hello: ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically
linked, not stripped, no debugging information available
karel at silence:/tmp$
}}}
In addition this define is not defined by default, but when you use -m64
option. Then it's used. BTW: I'm also a little bit confused by the fact
that when I invoke config.guess from the command-line it claims it's
running on i386-pc-solaris, but if I run ./configure then it shows x86_64
-unknown-solaris...
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2951#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list