Can I use Codewarrior compiler with standard make (without IDE)?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can I use Codewarrior compiler with standard make (without IDE)?

4,201件の閲覧回数
DragonSlayer
Contributor I
I would like to set up a build environment that is more familiar to the rest of our team. I would like to create standard makefiles and use make, but run the codewarrior compiler and linker.

Is this possible? Is there any documentation on this?

Thanks!
ラベル(1)
タグ(1)
0 件の賞賛
返信
4 返答(返信)

1,269件の閲覧回数
CrasyCat
Specialist III

Hello

Which CPU are you targeting.

Basically we have command line version for the build tools available. The way to set it up depends on the CPU you are using. 

CrasyCat

0 件の賞賛
返信

1,269件の閲覧回数
DragonSlayer
Contributor I
The requirements read StarCore SC140V3. I only know it is starcore.
0 件の賞賛
返信

1,269件の閲覧回数
CrasyCat
Specialist III

Hello

StarCore build tools executable are located in
    {Install}\StarCore_Support\compiler\bin

Compiler can can started through scc.exe. Assembler is started through asmsc100.exe and linker through sc100-ld.exe.

CodeWarrior is not delivered with amake utility, so you have to use an external make utilits (for example GNU make or nmake).

You then have to create your make file with your rules for the application.

There are some example of make files for example 
   {Install}\StarCore_Support\compiler\src\rtlib\makefile
or
   {Install}\(CodeWarrior_Examples)\StarCore_Examples\Drivers\Msc8101Drivers\Q001\demos\SerDemos\makefile.scc

The compiler provides an option to generate dependeny information in make file syntax. This option is -M [Filename] and is pretty useful when you are building from a make file.

I hope this helps.

CrasyCat

0 件の賞賛
返信

1,269件の閲覧回数
DragonSlayer
Contributor I
It does. Thanks very much Cat!
0 件の賞賛
返信