EmbDev.net

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


Author: Sevc Dominik (sevc)
Posted on:

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

Author: Slawek (Guest)
Posted on:

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

Author: dzairo (Guest)
Posted on:

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

Any sugestion?

Dzairo

Author: Sevc Dominik (sevc)
Posted on:

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

I'm Dzairo

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.