http://llvm.org/bugs/show_bug.cgi?id=14693

             Bug #: 14693
           Summary: clang driver should only interpret -static as a linker
                    option on Linux
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


$ gcc -fPIC -S h.c -static -save-temps ; grep PLT h.s
    call    puts@PLT
$ clang -fPIC -S h.c -static -save-temps ; grep PLT h.s
$ cat h.c
#include <stdio.h>

int main()
{
  printf("hello world\n");
  return 0;
}
$ 

Shouldn't flag usage be consistent with GCC in this situation?

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to