EmbDev.net

Forum: ARM programming with GCC/GNU tools Compiler Error


von Ramakrishnan (Guest)


Rate this post
useful
not useful
Hi, I am trying to compile some code with the GCC compiler.

My OS is Windows XP. I've done this 3-4 months ago successfully, but now 
I am getting the following error when I "make clean"

> "make.exe" clean

make.exe: *** [begin] Error 1

> Process Exit Code: 2
> Time Taken: 00:00

The code is error-free and compiles on my lab mate's workstation. I'm 
pretty clueless about fixing this, so I would really appreciate any 
help! Please feel free to ask for more details if that would help.
Thanks.

von Makefile (Guest)


Rate this post
useful
not useful
Read and fix the clean rule of your Makefile.

Very likely it's a bug in your Makefile or in your environent and not a 
compiler bug.

von Rolf Magnus (Guest)


Rate this post
useful
not useful
Especially since "make clean" usually doesn't involve the compiler at 
all.

von PittyJ (Guest)


Rate this post
useful
not useful
Ten years ago the only answer would have been
RTFM


Perhaps you should learn some basics before going into software 
development.

von Ramakrishnan (Guest)


Rate this post
useful
not useful
>>Read and fix the clean rule of your Makefile.
>>
>>Very likely it's a bug in your Makefile or in your environent and not a
compiler bug.

Thanks for the suggestion. I believe it is an environment error in my 
Windows installation, since I've tried the same piece of code on 
multiple machines now and they all work (all except my personal 
machine).

@PittyJ
>>Ten years ago the only answer would have been
>>RTFM
>>
>>Perhaps you should learn some basics before going into software
>>development.

I admitted that I am not knowledgeable about developing s/w in my 
original post, which is the reason why I am posting on this forum. If 
you cannot help, there is no reason to be rude. My only response to you 
is STFU!

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.