Re: Need help for an old makefile

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

 



Did anyone tried to compile this?

Thanks,



mahmoodn wrote:
> 
> I am really confused%-|. This time I tried to make, the error I got is :
> 
> cc -c -O2 -Olimit 2000 -w  main.c
> cc: 2000: No such file or directory
> cc1: error: invalid option argument `-Olimit'
> make: *** [main.o] Error 1
> 
> I can not remember what changes I did in these three days:confused:. I did
> not get the m4 error, but I searched filesystem for it and there is no
> file "m4".
> 
> I placed the files  http://ifile.it/sih7enp here . if some can compile it,
> I will very thankful.
> 
> 
> 
> 
> 
> Brian Dessent wrote:
>> 
>> mahmoodn wrote:
>> 
>>> Sorry, What do you mean? Do you think GCC4.1 is able to parse this
>>> makefile
>>> without any additional switch or command? If yes, then why I get this
>>> error?
>> 
>> The compiler does not parse makefiles.  'make' is a totally separate
>> program from the compiler, they are unrelated except for the fact that
>> they are commonly used together.  Your problem has nothing to do with
>> gcc though.
>> 
>>> How can I be sure that m4 is installed? Maybe the path is changed?!
>> 
>> The same ways that you check that any program is installed:
>> 
>> - look at the list of packages installed
>> - "m4 --version" or "m4 -v"
>> - "type m4" or "which m4" or "locate m4"
>> - "ls -l /usr/bin/m4"
>> - etc.
>> 
>> Brian
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Need-help-for-an-old-makefile-tp16722559p16952911.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