gcc will not read its own makefile
RedSonja
Sally.Riedhammer@cassidian.com
Tue May 31 15:17:00 GMT 2011
Ian Lance Taylor-3 wrote:
>
> 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
>
>
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.
More information about the Gcc-help
mailing list