cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fchpj
Observer
Observer
3,902 Views
Registered: ‎06-05-2009

SDK 11.2 compiler mb-g++ or mb-gcc

In SDK 10.1, it seems that the compiler used to compile software platform and other projects is mb-gcc, and there is no problem while linking the xilkernel. But when I swtiched to SDK11.2, the compiler seems changed to mb-g++, and there is no problem when building software platform, but when I was building other projects, it had problem of linking the Xilkernel (-lxikernel is in). If I manually change the compiler to mb-gcc, it then compiles but I got the warning message like "conflict of compiler tools being used".

 

Anyone knows what's going on?

 

Thanks,

fchpj 

 

0 Kudos
2 Replies
dorau
Explorer
Explorer
3,882 Views
Registered: ‎08-29-2008

Hi,

 

How did you change the compiler manually ??

You should do it in "Software -> Software Platform Settings..."

Rgds,

Kai

0 Kudos
fchpj
Observer
Observer
3,880 Views
Registered: ‎06-05-2009

If you go to Project->Property, you can change it.

 

Actually I think I found I the issue. If you create a C++ project, the default compiler is g++, and gcc for a C project.

 

regards,

fchpj

0 Kudos