#5101: GHC and GHCi use different syntax for dynamic libraries
--------------------------------+-------------------------------------------
    Reporter:  mcandre          |        Owner:                                 
  
        Type:  feature request  |       Status:  infoneeded                     
  
    Priority:  normal           |    Milestone:  7.2.1                          
  
   Component:  Compiler         |      Version:  7.0.3                          
  
    Keywords:                   |     Testcase:                                 
  
   Blockedby:                   |   Difficulty:                                 
  
          Os:  MacOS X          |     Blocking:                                 
  
Architecture:  x86              |      Failure:  Incorrect warning at 
compile-time
--------------------------------+-------------------------------------------

Comment(by igloo):

 Can you test which of these work and which don't, please?
 {{{
 gcc -march=i686 -m32 -lcharm hellocharm.c
 }}}
 {{{
 gcc -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
 -lcharm hellocharm.c
 }}}
 {{{
 gcc -lcharm -Wl,-search_paths_first hellocharm.c
 }}}
 {{{
 gcc -march=i686 -m32 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-
 version-min=10.5 -lcharm -Wl,-search_paths_first hellocharm.c
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5101#comment:4>
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

Reply via email to