gcc error..compiler cannot create executables

Hi
I have locally compiled and installed gcc-4.1.2 in directory /usr/local/pkg/gcc/4.1.2/bin/gcc

I want to compile beecrypt using this new compiler , So i have done
setenv CC usr/local/pkg/gcc/4.1.2/bin/gcc ( Note this configuration is running properly with older version of gcc...but failes during make...So i decided to go to new compiler( libstdc++ error))
but its throwing error

when i did whereis gcc..its not showing gcc I have included the gcc in PATH
----------------------------------------------------------

i have pasted a part of the configuration file....

configure:2452: result: /usr/local/pkg/gcc/4.1.2/bin/gcc
configure:2696: checking for C compiler version
configure:2699: /usr/local/pkg/gcc/4.1.2/bin/gcc --version </dev/null >&5
gcc (GCC) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2702: $? = 0
configure:2704: /usr/local/pkg/gcc/4.1.2/bin/gcc -v </dev/null >&5
Using built-in specs.
Target: hppa2.0w-hp-hpux11.11
Configured with: /home/users/vasanthb/src_chn/gcc-4.1.2/configure --prefix=/usr/local/pkg/gcc/4.1.2 --enable-threads --enable-shared=libgcc,libstdc++,zlib
Thread model: posix
gcc version 4.1.2
configure:2707: $? = 0
configure:2709: /usr/local/pkg/gcc/4.1.2/bin/gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2712: $? = 1
configure:2735: checking for C compiler default output file name
configure:2738: /usr/local/pkg/gcc/4.1.2/bin/gcc conftest.c >&5
as: "/var/tmp//ccf3VICd.s", line 11: error 1052: Directive name not recognized - NSUBSPA
configure:2741: $? = 1
configure: failed program was:
| /* confdefs.h. */
---------------------------------------------------------------------------
BR
vasanth

Vasanth,

Instead of compiling GCC, how about installing it from the depot. This will eliminate your issues.

gcc-4.2.3

Craig