Re: gcc will not read its own makefile

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

 



On 31 May 2011 14:26, Ian Lance Taylor wrote:
> RedSonja <Sally.Riedhammer@xxxxxxxxxxxxx> 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.

Or try /usr/xpg4/bin/make for POSIX make, or /usr/sfw/bin/gmake for GNU make



[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