This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc will not read its own makefile


RedSonja <Sally.Riedhammer@cassidian.com> writes:

> Jonathan Wakely-4 wrote:
>> 
>> On 31 May 2011 13:21, RedSonja wrote:
>>>
>>> Hello. I am porting a big C++ project from Windows to Solaris 9 with
>>> Eclipse
>>> and gnu. It can make its own makefile but then it says:
>>>
>>> gcc -f /export/home/MyPath/Debug/makefile -v
>> 
>> Maybe you meant "make -f ..." ?
>> 
>> GCC is a compiler, it doesn't read makefiles
>> 
>> 
>
>
> it says:
>
> (Exec error:Cannot run make)
>
> Why would it say that? I typed make at first. Do I have to install it
> separately?

The "make" program is not part of gcc.  You do have to have the make
program installed in order to build gcc or to use a Makefile.  If you
don't have a make program, you should install it.  I'm sure that Solaris
provides a make program, though perhaps it is not installed by default.
It may be installed in /usr/ccs/bin/make on Solaris, so check that
/usr/ccs/bin is on your PATH.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]