Code Warrior IDE editor,compile and make  related

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

Code Warrior IDE editor,compile and make  related

Jump to solution
12,579 Views
kanu__
Contributor III

hi all,

 

I am using code warrior version 5.9.0 for my project works.

Now am facing the following problems.

 

1. How can i put line number in the editor window.(It would help me a lot in coding time)

2. How can i clean build the project (only 'compile'  option in the project settings)

3. What is the main difference in compiling the whole project and making the whole project?

4. How can i build the source code in command line by exporting make file from the code warrior tool

    some  'make project_name.mpp ' , i don't know how.

 

Can anybody please help me in finding these doubts.

 

regards,

 

/renjith g

Labels (1)
Tags (1)
0 Kudos
1 Solution
3,328 Views
CrasyCat
Specialist III

Hello

 

.elb does not stand for anything special.

It is the standard extension the CodeWarrior for StarCore linker is associating to a library file.

 

The file itself is a run time library and is a standard ELF binary archive file.

 

CrasyCat

View solution in original post

0 Kudos
9 Replies
3,328 Views
CrasyCat
Specialist III

Hello

 

>1. How can I put line number in the editor window.(It would help me a lot in coding time)

This is not supported in CodeWarrior V5.9. This feature will be available with the next generation of IDE, which will be eclipse based.

 

>2. How can I clean build the project (only 'compile'  option in the project settings)

  In order to force a rebuild from the whole project::

    -  From menu "Project" select "Remove Object code".

     - From menu "Project" select Make

 

>3. What is the main difference in compiling the whole project and making the whole project?

Can you please explain what you mean here with "compiling the whole project"? 

Making the whole project will compile all ANSI C source file, assemble all assembly source files and link them all together.

 

>4. How can I build the source code in command line by exporting make file from the code warrior tool

>    some  'make project_name.mpp ' , I don't know how.

CodeWarrior build system is based ion an internal build engine, which is not based on makefile.

So you cannot export a make file from CodeWarrior.

If you wish to build from command line you need to create your make file manually.

 

CrasyCat

0 Kudos
3,328 Views
kanu__
Contributor III

 

hi,

 

Many Thanks for your reply

 

This is not supported in CodeWarrior V5.9. This feature will be available with the next generation of IDE,  which will be eclipse based 

 

 Is it possible to integrate this feature(to show line numbers) by installing any extra plug in to v5.9 ?

An editor should give this feature even if it is having low version  or not eclipse based right? 

can you please give the exact details(download link if any) of the next version of IDE which support this feature?

 

Can you please explain what you mean here with "compiling the whole project"? 

 

I mean just right click the uppermost folder in the project and select  'compile'   

 

If you wish to build from command line you need to create your make file manually

 

but in the CW v5.9 'help' it is telling that you can make the whole project by giving make project_name.mpp thats why i asked. Also the CW internal build engine also creates build invocations can we get that? Also is there any make utility in C:\Program Files\Freescale\CodeWarrior for StarCore 3.2.2\StarCore_Support\compiler\bin  ?

 

Also i have some questions.

 

1. When i given project menu 'make' for a library  project it is not creating/showing  the object files for corresponding  source files but i am getting the final library after linking . But when i given 'compile' in the project source folder it is creating/showing the source object files correctly. Why  this happens?


2. Is there anylinux versions of  CW version 5.9 is available? so that i can work on my platform. 


3. How can i get the full assembly instruction set and its explanations of  the following cores?

 

1)SC 140(MSC 8122)

2)SC 3400(MSC 8144)

3)SC 3850(MSC8156)

 

 

Expecting your positive reply soon.

 

/Kanu__

 

0 Kudos
3,328 Views
CrasyCat
Specialist III

Hello

 

> Is it possible to integrate this feature(to show line numbers) by installing any extra plug in to V5.9 ?

This is not supported in V5.9 and cannot be installed separately. Additionally we are not implementing any extension in the classic IDE as we are planning to move to an eclipse based IDE in the future.

>An editor should give this feature even if it is having low version  or not eclipse based right? 

>can you please give the exact details(download link if any) of the next version of IDE which support this feature?

CodeWarrior with Eclipse IDE is not available on public web site yet.

We are not discussing or providing release date through the forum. Please contact your sales representative to get this kind of information.

 

>Can you please explain what you mean here with "compiling the whole project"? 

>I mean just right click the uppermost folder in the project and select  'compile'   

When  you are using Compile, you are only compiling ANSI C source files and assembling assembly source files. When you use Make you will compiler ANSI C source files and assemble assembly source files and also link the application or create the library file.

Compile is only compiling and will not generate the executable file or the object library.

>If you wish to build from command line you need to create your make file manually

>but in the CW v5.9 'help' it is telling that you can make the whole project by giving make project_name.mpp thats

>why I asked.

The information you are talking about are related to the ability of building the project from a tcl script in the CodeWarrior Command window. It cannot be used from DOS command line.

Note you can start the IDE in batch mode and tell you want to start a specific TCL script.

Please refer to {Install}\Help\PDF\IDE_5.9_Automation_Guide.pdf chapter "IDE Batch-Mode Processing" and look for option /d

>Also the CW internal build engine also creates build invocations can we get that?

No this is IDE internal information only and is not available in a textual form.

> Also is there any make utility in C:\Program Files\Freescale\CodeWarrior for StarCore 3.2.2\StarCore_Support\compiler\bin  ?

 There is no make utility delivered with CodeWarrior for StarCore. If you wish to build from batch you can use GNU make or NMAKE or whatever make utility you are used to. You will then have to create your make file manually.

>Also I have some questions.

 

>1. When I given project menu 'make' for a library  project it is not creating/showing  the object files >for corresponding  source files but I am getting the final library after linking . But when I given 'compile' in the project >source folder it is creating/showing the source object files correctly. Why  this happens?

When you are building your project from the IDE the object files have extension .eln and are located in the sub directory <ProjectName>_Data\<TargetName>\ObjectCode, where <ProjectName> stands for your project name and <TargetName> stands for your build target name (whatever is displayed on the combo box on the left hand side of the .mcp window). 

>2. Is there anyLinux versions of  CW version 5.9 is available? so that I can work on my platform. 

There is no Linux version of CodeWarrior for StarCore V5.9.

>3. How can I get the full assembly instruction set and its explanations of  the following cores?

Please do not do cross posting, This one will be answered in thread

  http://forums.freescale.com/t5/StarCore-DSPs/Programming-manual-related/td-p/55071

 

 

CrasyCat

 

0 Kudos
3,328 Views
kanu__
Contributor III

Thanks for your reply.

 

I have some other doubts,

 

1) What is the expansion  and significance of  'elb' for the library file created in the code warrior project (for eg: helloworld.elb) ?

2) What is the expansion and significance of 'MSC'  in the MSC8101/MSC8122/MSC8144/MSC8156 platform names ?

 

 

/Kanu__

0 Kudos
3,328 Views
Irene
NXP Pro Support
NXP Pro Support

I don't know what you mean  by expansion but I will provide you the information that I have.

 

1) What is the expansion  and significance of  'elb' for the library file created in the code warrior project (for eg: helloworld.elb) ?

This extension is part of the elf(executable and linkable format) extension. It is the extension that is given to library files.

2) What is the expansion and significance of 'MSC'  in the MSC8101/MSC8122/MSC8144/MSC8156 platform names ?

MSC stands for Motorola "Network- Ready" StarCore.

0 Kudos
3,328 Views
kanu__
Contributor III

 

ok.

 

MSC is fine.

 

But what is the full form of 'elb' in the output of code warrior library project?

For example : If a library is produced with name Helloworld.elb  after building the Helloworld CW project.

This is really urgent for me.

 

/Kanu__

0 Kudos
3,328 Views
Irene
NXP Pro Support
NXP Pro Support

I don't understand what you mean by the following: "But what is the full form of 'elb' in the output of code warrior library project?" 

 

When you create a library file it will generate a <library_name.elb> file. 

 

Please be more specific as to what information you are looking for so that we know what information you are exactly looking for.

 

0 Kudos
3,328 Views
kanu__
Contributor III

Ok. Sure.

 

Expecting this is purely due to communication gap between both of us. I will try to reduce it as I can.

 

In my Code Warrior , when i built my project , i got one library named <library_name.elb> file .

 

My doubt is that what does the 'elb' stands for? in the above library name. That means, what is the expansion of  ".elb

 

 

/Kanu__

0 Kudos
3,329 Views
CrasyCat
Specialist III

Hello

 

.elb does not stand for anything special.

It is the standard extension the CodeWarrior for StarCore linker is associating to a library file.

 

The file itself is a run time library and is a standard ELF binary archive file.

 

CrasyCat

0 Kudos