__declspec (bare) to avoid underscore prefix?

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

__declspec (bare) to avoid underscore prefix?

1,443件の閲覧回数
Obetz
Contributor III

Hello All,

 

anybody using __declspec (bare) or any other method to get a symbol without underscore prefix?

 

I tried __declspec (bare) as explained in the "ColdFire Build Tools Reference Manual" page 184 but CW/CF 7.2.1 complains "illegal type qualifier(s)".

 

Background: I want to have sources compiling with gcc and CW alternatively, and IMO it's cleaner to create the correct symbols in the first place instead of adding lots of aliases in the assembler part.

 

Oliver

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

826件の閲覧回数
admin
Specialist II

There is no cheap solution to compile non-trivial projects with GCC and CW from the same sources.

 

You'll certainly get ABI conflicts with your own libraries if certain care is not taken.

0 件の賞賛
返信

826件の閲覧回数
Obetz
Contributor III

I have no "ABI conflicts with my own libraries" but a specific problem, so what is your contribution to the original question, Nikolaich?

0 件の賞賛
返信