error in removing the package

hi all,

i have installed gcc-3.4.6-sol10-sparc-local package on unix system.
i tried removing this with the command pkgrm but getting the below error..

pkgrm gcc-3.4.6-sol10-sparc-local
pkgrm: ERROR: no package associated with <gcc-3.4.6-sol10-sparc-local>

can any one suggest me how to remove the package...

What do you get from:

pkginfo|grep "^gcc"

Perhaps you're mistyping the pkgname?

pkgrm SMCgcc