[GHC] #7922: adding direct *.c -> object code (*.o/so/dylib) support to compilation driver

GHC cvs-ghc at haskell.org
Tue May 21 23:44:36 CEST 2013


#7922: adding direct *.c -> object code (*.o/so/dylib) support to compilation
driver
---------------------------------+------------------------------------------
    Reporter:  carter            |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.7             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:  #7904             |  
---------------------------------+------------------------------------------

Comment(by carter):

 NOPE. '''gcc''' is not calling '''as''', GHC is.

 gcc 4.8 can assemble the simd avx code just fine on my mac, so unless
 we're telling gcc to use as, its ghc.
 {{{
 carter code/test » cd cbits
 carter test/cbits » gcc daft.c -S -c
 carter test/cbits » gcc daft.s -c
 carter test/cbits » ls
 daft.c daft.o daft.s
 }}}

 I then disassembled the object file generated by the compiling of the
 assembly, and it had the avx instructions

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7922#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list