> identity writes:
>  > well nothing, just gcc blabla.c blabla.o, etc
> 
> You mentioned using c++.  gcc is the C compiler and g++ is the C++ compiler.
> Since you have files with .c extension then I assume you are doing C.  So
> you would want to try:
> 
> to compile:
> gcc -c -o blabla.o blabla.c
> 
> to link:
> gcc -o blabla blabla.o
> 
> You can combine these two steps into one, but I can't recall the syntax
> right now.

gcc blabla.c (creates a.out)
or
gcc blabla.c -o blabla
C++ can be done
gcc blabla.C -o blabla




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to