EmbDev.net

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


von Sevc D. (sevc)


Rate this post
useful
not useful
On my computer I have instaled WinARM,WinAVR and Delphi.
How can I set so if compile project from winARM use make.exe for WinARM
, if compile project from WinAVR use make.exe for WinAVR and so on.

I need have WinAVR and WinARM on some computer.

regards.

von Slawek (Guest)


Rate this post
useful
not useful
Sevc Dominik wrote:
> On my computer I have instaled WinARM,WinAVR and Delphi.
> How can I set so if compile project from winARM use make.exe for WinARM
> , if compile project from WinAVR use make.exe for WinAVR and so on.
>
> I need have WinAVR and WinARM on some computer.
>
> regards.

On my pc I've installed Builder, WinARM and WinAVR. As an interface for
microcontrollers I use Dev-C++. It is possible to configure several
compilers there (tools->compiler options and then add compilers you
want. They must be present in the system, of course). For each compiler
you need to specify directories - at least for binaries. It's also
necessary to set PATH variable for both AVR and ARM.

Once compilers are installed, the only thing to do is to select right
compiler for micro (tools->compiler options and then select one of
installed) upon creating a project. Next thing to do is to inform
Dev-C++ that you want to use your own makefile (project -> project
options and then select your own makefile).

Once a new project is saved, Dev-C++ will remember all settings.

If you do it right you won't have any problems.

You could also install OpenOCD and Philips Flash utility
(tools->configure tools then add what you want).

good luck!

von dzairo (Guest)


Rate this post
useful
not useful
I understand how.
I try find any configuration to set path but... .

Any sugestion?

Dzairo

von Sevc D. (sevc)


Rate this post
useful
not useful
dzairo wrote:
> I understand how.
> I try find any configuration to set path but... .
>
> Any sugestion?
>
> Dzairo

I'm Dzairo

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.