Codeplay
Search
PORTABLE HIGH-PERFORMANCE COMPILERS Nippon
LOG IN
 

HOME | SERVICES | PRODUCTS | DOWNLOADS | SUPPORT | JOBS | ABOUT US | PRESS | SALES
 



 

Troubleshooting

Installation problems

CodeWarrior integration has not been installed properly

You may have to manually copy the integration dlls from the directory they have been installed to (probably c:\program files\metrowerks\codewarrior) to the real installation directory of your version of CodeWarrior. The files are:

panelvu.dll, panelee.dll, vectorcvu.dll, vectorcee.dll

The 2 "panel" files should be copied to CodeWarrior\bin\plugins\Preference Panel

The 2 "vectorc" files should be copied to CodeWarrior\bin\plugins\Compiler

If you only installed VectorC{VU} or VectorC{EE}, you will only have one panel file and one vectorc file.

Visual Studio .NET integration is not available on the menu

Try running Tools->Add-in Manager and selecting "VectorC Compiler Controller" for integration and startup. There is no need to select the "command prompt" option. Or, try re-installing after closing down all instances of Visual Studio

I get a vsimake error

This is an issue we are looking into. If you have a header file with the same name as a .c or .cpp file that is causing this error, selected it, press right mouse button and then Properties, then set to "exclude from build".

I get a "label not found error"

If you're using GCC 2.95.3, you will have to select the GCC 2.95.3 compatibility option

I get a GP relative address error from the linker

Make sure VectorC{EE} is set to the same GP relative size as GCC or CodeWarrior.

My code crashes with the program accessing the wrong address in a structure or class

Any options in an sn.ini file must be copied onto the command-line. No VectorC compiler reads the sn.ini file. There is an "additional options"

Have you used the "-fbyte-bool" option? This is currently being added (10/Jun/04) you may need to update. You will also have to put this on the command line and not the sn.ini file.

Check for -fvtable-thunks being set to the same for GCC and VectorC.

My code crashes with an alignment problem

VectorC will vectorize, which means it will access data up to the full alignment you have specified. Take a look at this example:

union a {int x; char c [4];};

This union will be aligned to 4 bytes because of the "int" field. If it's aligned to 1 byte and you access the "c" array, other compilers my compile it, but VectorC may vectorize access to the "c" array to use a 2 or 4-byte memory access. This will cause alignment problems. Add __attribute__((aligned(1))) to the end.

This page doesn't answer my problems

Email us at support@codeplay.com. We will respond quickly and sort out the problem. Please give us as much information as possible to reproduce the problem.

 

 

 

 

Support

support@codeplay.com

Support Home
Troubleshooting

VectorC{PC}

FAQ

VectorC{VU}

FAQ
CODE EXAMPLES

PS2NDA SECTION (requires SCEI/SCEE/SCEA approved Codeplay web account)
Demo Source
Resources

VectorC{EE}

FAQ

PS2NDA SECTION (requires SCEI/SCEE/SCEA approved Codeplay web account)

Optimization Guidelines
Using advice from VectorC{EE}
Resources