
8 Feb
2011
8 Feb
'11
8:26 a.m.
There seems to be confusion about 32bit and 64bit assembly. Can you compile and link without optimization? C. Am 08.02.2011 13:33, schrieb Dušan Kolář:
Well, it helped, but not getting output anyway:
/tmp/ghc32376_0/ghc32376_0.s: Assembler messages:
/tmp/ghc32376_0/ghc32376_0.s:35:0: Error: bad register name `%rbp)'
/tmp/ghc32376_0/ghc32376_0.s:36:0: Error: bad register name `%r15'
/tmp/ghc32376_0/ghc32376_0.s:38:0: Error: bad register name `%r12'
/tmp/ghc32376_0/ghc32376_0.s:39:0: Error: bad register name `%r13)'
/tmp/ghc32376_0/ghc32376_0.s:41:0: Error: bad register name `%r12)'
/tmp/ghc32376_0/ghc32376_0.s:42:0: Error: bad register name `%rbx'
... and many other similar lines
Is my installation of gcc broken? :-O