Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - QCC memory alignment: (1 Item)
   
QCC memory alignment  
Hello,

I have the following questions about qcc/QCC.

1) Is QCC the default compiler for any C/C++ project development on QNX IDE v4.5.0?

2) Does QCC handle memory alignment of local variables? Meaning, when a local variable unsigned short is declared, will 
the compiler ensure to allot this variable at a address which is a multiple of 2 in the stack?

3) Under the project's QNX-CC++ project properties ->compiler section, I see only one compiler, which is GNU compiler 
collection(4.2.4). If I want to use gcc instead of qcc, where should I change and what should be changed?

Can you help to clarify?

Thanks.