change of memory model (CW 5.7  MC9S08RE16)

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

change of memory model (CW 5.7  MC9S08RE16)

ソリューションへジャンプ
2,363件の閲覧回数
stevec
Contributor III
I inadvertantly set my memory model to TINY when I started the project a while back and now need to set it to SMALL. I set the assembler and compiler options under Standard Settings to SMALL (-Ms) and now get a link error L1401:"Incompatible memory model: TINY in previous file ASSERT.C.o (ansitis.lib) and SMALL in (MC9S08RE16.C.o)". Have I missed something out?

Regards,

Steve
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,096件の閲覧回数
stanish
NXP Employee
NXP Employee
Hi Stevec,

you have to replace the ansi library since the one you are usnig in the project refers to TINY memory model.
The library has to match with project memory model otherwise it's not possible to link them together.
I'd suggest you to replace file ansitis.lib by ansiis.lib.

The Libs are located here by default:
"<CodeWarrior home directory>\lib\HC08c\lib\*.lib"

For more information about the available ansi libraries I'd suugest you to see:
"<CodeWarrior home directory>\lib\HC08c\readme.txt"

Stanish

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,097件の閲覧回数
stanish
NXP Employee
NXP Employee
Hi Stevec,

you have to replace the ansi library since the one you are usnig in the project refers to TINY memory model.
The library has to match with project memory model otherwise it's not possible to link them together.
I'd suggest you to replace file ansitis.lib by ansiis.lib.

The Libs are located here by default:
"<CodeWarrior home directory>\lib\HC08c\lib\*.lib"

For more information about the available ansi libraries I'd suugest you to see:
"<CodeWarrior home directory>\lib\HC08c\readme.txt"

Stanish

0 件の賞賛
返信