After installing S60 FP2 SDK and following the steps detailed in the release notes to patch the sdk (copying the cl_bpabi.pm file to epoc32\tools) and adding the specified directories to the Path environment variable I still have errors when building.
The error I get is this:
fatal error: error writing to -: Invalid argument
The directoires I've added to the path are these:
C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\CSL Arm Toolchain\arm-none-symbianelf\bin;C:\Program Files\CSL Arm Toolchain\libexec\gcc\arm-none-symbianelf\3.4.3;C:\Program Files\Common Files\Symbian\tools
I've also makde sure that CSL Arm Toolchain is installed in
C:\Program Files\CSL Arm Toolchain\ directory.
Same problem happens with FP1 after following the steps here:
http://wiki.forum.nokia.com/index.php/Windows_Vista
I've read in some threads that this has to do with a long file path for de mmp file, but I'v tried it directly in C:\projectname.




