mwcceppc + gcc -> mwldeppc linker

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

mwcceppc + gcc -> mwldeppc linker

1,617件の閲覧回数
juhalaukkanen
Contributor III

I am trying to compiler several libraries with mwcceppc compiler and some with gcc. Then link them together with mwldeppc .

I ran into a problem that mwldeppc cannot recognize gcc debug data.

mwldeppc.exe: Invalid abbreviation code : 266l in section .debug_info of file

If I compile with gcc without including debug data linking is OK.

Is there any way to get support for gcc debug data?

Thanks.

ラベル(2)
2 返答(返信)

1,067件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Juha Laukkanen,

CodeWarrior supports building project with Freescale Classic Toolchain or GCC Toolchain, please only select one for your project, don't mix them together.

I suggest you rebuild the library with mwcceppc compiler, and "EWL Libraries" are recommended to use, please refer to the section "22.3.3 How to Rebuild the EWL Libraries" in the attached document to rebuild your required library.

Thanks,

Yiping

0 件の賞賛
返信

1,067件の閲覧回数
juhalaukkanen
Contributor III

OK yes I know I can build everything either with GCC Toolchain or MW Toolchain.

I was just wondering if it possible to mix them. Seems not really. Overcoming that linker restriction regarding debug data means lots of effort and work.

However you suggest preferring MW Toolchain rather than GCC Toolchain? I have understood that Freescale is going to mainly support GCC in the future so that it is unlikely that MW Toolchain gets C++11/14 and C11 support at all (now it only has C++03 and C99 support). Can you please explain why MW Toolchain should be preferred?

0 件の賞賛
返信