Command line Build

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command line Build

Jump to solution
1,172 Views
DiamarTech
Contributor II

Hi!

 

I´m interesting to use Codewarrior command line builder, but I don´t know how i can use it. I am using CodeWarrior v5.9 IDE for HCS12 V4.7 and I don´t find where is the command line executable.

 

can Anyone help me, please?

 

Thank you.

Labels (1)
1 Solution
811 Views
BlackNight
NXP Employee
NXP Employee

Hi David,

have a look here:

C:\Freescale\CWS12v5.1\Help\PDF\

Build_Tools_Utilities.pdf

Compiler_HC12.pdf

Assembler_HC12.pdf

I hope this helps.

View solution in original post

0 Kudos
4 Replies
811 Views
BlackNight
NXP Employee
NXP Employee

Hi David,

you mean building with make files or batch files?

Yes, you can run the compiler/linker/etc in command line mode too.

E.g. you can run the compiler from the DOS shell with

prog\piper.exe chc12.exe foo.c

Apart of that, you need to set up a batch file or a make file.

How to use make files, here is a background article (Make my Make with Eclipse and MCU10 | MCU on Eclipse). It is using Eclipse, but the same principles apply for your classic CodeWarrior.

I hope this helps.

0 Kudos
811 Views
DiamarTech
Contributor II

Hi Erich!

First, Thank you very much for your quick answer. Exacty, I want to build my program with make files. Where Can I get a manual file about piper and other codewarriors command line tools? For example, linkers, compilers information flags and so on.

Thank you, very much.

David.

812 Views
BlackNight
NXP Employee
NXP Employee

Hi David,

have a look here:

C:\Freescale\CWS12v5.1\Help\PDF\

Build_Tools_Utilities.pdf

Compiler_HC12.pdf

Assembler_HC12.pdf

I hope this helps.

0 Kudos
811 Views
DiamarTech
Contributor II

Hi Erich!

Thank you very much.

0 Kudos