HC12: Are there any differences between ansis.lib and ansisi.lib?

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

HC12: Are there any differences between ansis.lib and ansisi.lib?

ソリューションへジャンプ
2,351件の閲覧回数
tiny
Contributor I
hi:
The CW31 selected ansis.lib when I created a s12 project from stationery ,
but when i created the project using project wizard,it would choose the ansisi.lib as RTL

Message Edited by CrasyCat on 2007-04-13 01:39 PM

ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
707件の閲覧回数
CrasyCat
Specialist III
Hello
 
The file {Install}\lib\HCI\readme.txt explains it a little bit.
 
 ansisi.lib   is used when you specify you want no floating point support. (option -D__NO_FLOAT__ )
 ansisf.lib   is used when you want to get float represented as 32-bit IEEE and double as 64-bit IEEE 
                  (option -Cf)
 ansis.lib    is used when you want to have both float and double represented as 32 bit IEEE.
 
As far as I can tell the 3 choices are available in the wizard for floating point support.
 
I hope this makes it a little bit clearer.
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
707件の閲覧回数
tiny
Contributor I
oh...i see,thank you very much
0 件の賞賛
707件の閲覧回数
tiny
Contributor I
thank you, cat
In small mode,
I noticed that CW31 would link ansisf.lib if float data type specified,and  ansisi.lib if not.
but the problem is in wich condition  would ansis.lib be used.
is ansis=ansisi+ansisf ?
0 件の賞賛
708件の閲覧回数
CrasyCat
Specialist III
Hello
 
The file {Install}\lib\HCI\readme.txt explains it a little bit.
 
 ansisi.lib   is used when you specify you want no floating point support. (option -D__NO_FLOAT__ )
 ansisf.lib   is used when you want to get float represented as 32-bit IEEE and double as 64-bit IEEE 
                  (option -Cf)
 ansis.lib    is used when you want to have both float and double represented as 32 bit IEEE.
 
As far as I can tell the 3 choices are available in the wizard for floating point support.
 
I hope this makes it a little bit clearer.
 
CrasyCat
0 件の賞賛
707件の閲覧回数
CrasyCat
Specialist III
Hello
 
If you specify floating point support as None and small memory model in the wizard,  ansisi.lib file will be linked to the application .
 
CrasyCat
0 件の賞賛