EmbDev.net

Forum: ARM programming with GCC/GNU tools Compiler Error


Author: Ramakrishnan (Guest)
Posted on:

Rate this post
0 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.

Author: Makefile (Guest)
Posted on:

Rate this post
0 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.

Author: Rolf Magnus (Guest)
Posted on:

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

Author: PittyJ (Guest)
Posted on:

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


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

Author: Ramakrishnan (Guest)
Posted on:

Rate this post
0 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!

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.