I don't use Dev-Cpp myself, just the plain MinGW/MSYS installation but
it seems from your description that there is something wrong with the
include paths (possibly the order in which include directories are being
searched). I cannot think of any other reason why you should get so many
errors from standard header files. The gcc family pays attention to the
following environment variables (among others);
GCC_EXEC_PREFIX - where gcc is installed (only needed if not installed
correctly; looks like you are OK here.
CPATH,C_INCLUDE_PATH,CPLUS_INCLUDE_PATH,OBJC_INCLUDE_PATH -
colon-separated list of include directories to be searched after any -I
entries on the command line; CPATH applies regardless of language, the
others are language-specific.
LIBRARY_PATH - colon-separated list of library directories to be
searched after any -L entries on the command line.
Normally, if gcc has been correctly installed you should not need to set
any of these for standard headers and libraries; they are useful only
for specifying extra directories to be searched (like, for example, if
you installed GnuWin32 packages in a separate directory and wanted to
include those in your path as well). You may want to make sure that you
are not including the wrong headers due to the order of include paths
(using Cygwin headers for MinGW compilation, for example). Please check
your Dev-Cpp setup for problems along these lines.
Regards,
Anand
-----Original Message-----
From: SourceForge.net [mailto:noreply@...
Sent: Tuesday, June 08, 2004 8:41 AM
To: noreply@...
Subject: [Mingw-users] [mingw - C/C++] RE: How to configure make?
Read and respond to this message at:=20
https://sourceforge.net/forum/message.php?msg_id=3D2608471
By: mightysarky
Well, I didn't post any examples of my command line because this doesnt
matter, the errors are the same for every makefile I am trying to
compile.
I just type "make" without any parameters at my command prompt and all
these errors as described above happen.
[quote]
So far you've managed to do the wrong things to correct the issue.
[/quote]
I don't get that... how can I do anything right if there isn't any
documentation that tells me what exactly to do?
Isn't there any detailed how-to which describes how to setup "make"?
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:=20
https://sourceforge.net/forum/unmonitor.php?forum_id=3D286529
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME
Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org _______________________________________________
MinGW-users mailing list
MinGW-users@...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
|