link a executable program with static libraries ,but fail
a.c:
#include <stdio.h>
extern void fun();
int main()
{
fun();
return 0;
}
b.c:
#include <stdio.h>
void fun()
{
printf("\n call me");
}
1) create liba.a and libb.a using "ar -ruv" command
2) link the executable program "a.out" with following command:
cc -o a.out -L. -la -lb
report the error:
usage: cc [ options] files. Use 'cc -flags' for details
Can you tell me how to do it

