EmbDev.net

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


von David S. (patroclus)


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

von Martin T. (mthomas) (Moderator)


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

von David S. (patroclus)


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

von Martin T. (mthomas) (Moderator)


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

von David S. (patroclus)


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

von Jonathan D. (dumarjo)


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

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.