Re: gcc will not read its own makefile

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

 





Ian Lance Taylor-3 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.
> 
> Ian
> 
> 
Ha! That was all it needed! Now it runs. OK, it doesn't like its makefile. I
shall start a new thread about that...
-- 
View this message in context: http://old.nabble.com/gcc-will-not-read-its-own-makefile-tp31740323p31740988.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[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