how to compile library files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi
I have a program with a ANSI C program written for linux
my operating system is WINXP and i have dowloaded MINGW
when i compile it with

gcc -c  acotsp.c
 it doesnt give any error and the acotsp.o file is created
but when trying to create an executable file

gcc -o acotsp  acotsp.o

it fails and gives error.
my program includes header and library files but how to compile them with
the main program.

thanks


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux