Mixing RVCT 3.1 and GCC 4.1.1
Hi,
I am trying to use a RVCT 3.1 compiled library with a GCC 4.1.1 2006q3-26 compiled test application( only C).
The library has some c files with assembly functions. If I disable those assembly functions using a compile time flag then things link fine without any problems.
If I enable those assembly functions then library is built without any problems but when I link it with GCC compiled test application then it throws following error
" Conflicting definitions of wchar_t "
With RVCT I am using the option "--wchar32" , can it be that the assembler is not using this option ? What might be the problem ?
Regards,
Pradeep
===========================================================
Hi ,
If you check mail archive in the codesourcery you will find answer to this. But I am attaching the link, may be it will solve your problem.
http://www.codesourcery.com/archives/arm-gnu/msg01314.html
Even though it is for RVDS 3.0, your problem might be linked...Anyway you can look at APP NOTE 150 on arm's site which will give more insight.
Cheers,
Venu

0 Comments:
Post a Comment
<< Home