pragma suooprt in diab

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

pragma suooprt in diab

3,669件の閲覧回数
vaas
Contributor I
HI,
      I tried to compile the following .cpp files from diab.

/*.....test1.cpp...........*/

#pragma section DATA ".first" ".first"
int raj2;

#pragma section DATA ".second" ".second"
extern int var1;
int ar2;

int testmain()
{
        int a,b,c;
        return a;

 

}

/****************************************************/

in the above code i want variable ar2 to go to section second, but it
is going to section first.

can anyone make this clear

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

906件の閲覧回数
CrasyCat
Specialist III
Hello
 
- Which CPU are you targeting (MPC5xx, Coldfire, ..)
- Which version of CodeWarrior are you using?
  To retrieve that info:
    - Start CodeWarrior
    - Select Help -> About Freescale CodeWarrior
    - Click on "Install Products"
    - CodeWarrior version used is displayed on top in the Installed Products dialog.
 
CrasyCat
0 件の賞賛
返信

906件の閲覧回数
vaas
Contributor I
Hi,
      thanks for the reply
 
      I am targeting for MPC5200.
 
     I am using diab 5.3.1.0 compiler from windriver ...
0 件の賞賛
返信

906件の閲覧回数
CrasyCat
Specialist III
Hello
 
I am not sure you will get assistance on that one on the CodeWarrior Forum.
This Forum is for questions around development with CodeWarrior development tool chain.
 
If you need support for DIAB compiler it is probably better to ask support from WindRiver directly.
 
CrasyCat
0 件の賞賛
返信