#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:
{{{
ka...@silence:/tmp$ cat hello.c
int
main()
{
return 0;
}
ka...@silence:/tmp$ gcc -o hello hello.c
ka...@silence:/tmp$ file hello
hello: ELF 32-bit LSB executable 80386 Version 1 [FPU], dynamically
linked, not stripped, no debugging information available
ka...@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_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs