EmbDev.net

Forum: ARM programming with GCC/GNU tools diferent make.exe


Author: David S. (patroclus)
Posted on:

Rate this post
0 useful
not useful
Hello!

I downloaded WinARM and YAGARTO, and I spend quite a lot of time trying
to understand all that is involved.
Up to now, I have a question about make.exe

I already had a 'make' installed on my computer, before I installed
YAGARTO. I know it because it ran when I typed 'make' from command
promt. It might be from my borland delphi installation, pic C compiler,
or anything else. Anyway, how does eclipse know which make to run ??
I tried WinARM first, and I configured eclipse too, and works fine.
YAGARTO works fine too. Both of them compile. But it might be just luck.
How does eclipse know which make is the 'good' one??

thank you!

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Patroclus Xx wrote:

> ...Anyway, how does eclipse know which make to run ??...

I don't use Eclipse but if you have not configured an absolute path to
make.exe my best guess that it's using the first one found in the
system-search path. The where-command from the shell/cmd should help. On
the PC im currenlty using it's:
C:\Dokumente und Einstellungen\mthomas>where make
C:\WinAVR\utils\bin\make.exe
since I also have WinAVR installed and C:\WinAVR\utils\bin it the first
directory-entry in the PATH which holds a make.exe

Anyway. Maybe a Eclipse-User can jump in here.

Martin Thomas

Author: David S. (patroclus)
Posted on:

Rate this post
0 useful
not useful
Thank you.
I also think it must  be using the first make found in the path
variable.
In a few days I'll have some LPC2104 to play with, and I'll hopefully
have some time to do some tests. So far this is my first ARM approach
appart from GBA and NDS game programming with devkitpro. I only used
PICs for microcontroller's projects, and the dev tools are much more
straight fordward.

Anyway, I don't know the where command... it doesn't work on my system,
and there's no where.* file in my hard disk.

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 useful
not useful
David S. wrote:
> [...]
> Anyway, I don't know the where command... it doesn't work on my system,
> and there's no where.* file in my hard disk.

I'm sorry. Yes, on the machine I'm currently writing where.exe is not
available too. It's not part of the standard OS (at least not in W2k and
XP). IRC where.exe is included in some Windows Resource Kits (at least
in the W2K kit) and some newer Visual Studio installations (I have
VS2005 installed on the other machine). Try to google for it, if you can
not find it, just send me an e-mail (mthomas at rhrk dot uni-kl dot de).

Author: David S. (patroclus)
Posted on:

Rate this post
0 useful
not useful
Found it. Thanks :-)

Author: Jonathan Dumaresq (dumarjo)
Posted on:

Rate this post
0 useful
not useful
David S. wrote:
> Found it. Thanks :-)

What I do normaly, I change the make.exe in the openocd by arm_make.exe
and change the configuration in my eclipse project to use arm_make.exe
instead of make.exe

No more problem with system path

my 0.02$

Jonathan

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.