%% "Fred J." <[EMAIL PROTECTED]> writes:

  fj> I am getting errors like in-frame-below when compiling
  fj> c++ project.

  fj> could someone help please in telling me whats wrong with my
  fj> makefile?  if not, then I will look in the code, but I think my
  fj> make file is not right.

This is not a problem with make or the syntax of your makefile: you are
invoking your compiler incorrectly.  You need to use the right compiler
command line.  This is really a question that should be directed to a
mailing list or group associated with your compiler, not with make.


To get you started in the right direction I'll point out that you're
compiling and linking your C++ code with "cc", which is a C compiler,
not a C++ compiler.  You shouldn't expect that to work.

Try using "c++" instead of "cc".  GNU make uses the variable CXX to hold
the name of the C++ compiler (CC is the name of the C compiler).

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to