Hi, I am trying to compile a sample program using gcc. The program
requires headers so I put the header files and corresponding source
files into one folder. Then I ran the command 'gcc prog.c -o
prog.exe.' It then gives me errors such as "undefined reference to
'_N_VNew'" where N_VNew is in the header files I put in the folder.
Usually gcc file.c -o file.exe worked for a c program that include no
user defined headers. I've never dealt with headers before, is there
some gcc command I need to use? btw, I doubt there is a problem in the
source code calling the headers.
Thank You