This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: need help on gcc installation


Hi,

Gonca Orgulu wrote:
I am new for program installation and am not sys admin. I tried to understand the instructions, but i think that i did not
understand very well.
Probably, my problem for ld is related to the path definition. I am
running the program "configure" as root. While as root, the system
does not find ld command. Actually, i have link editor program which is in
a different path. I tried to give a path for the ld command in configure as below,


ld='/usr/ccs/bin/ld'

I am not sure i am doing correctly.

Hm, you don't need to run this as root.
Here in my env I set the PATH pointing to the ccs/bin/ld. I use the tcsh. This is what I put in my .tcshrc:


setenv PATH /usr/local/bin:/usr/ccs/bin:/usr/bin:$PATH
setenv CONFIG_SHELL /bin/ksh

Then source this .tcshrc and configure the gcc to your needs.

e.g, in a directory called objdir which is on the same level as the gcc-src.

../gcc/configure --prefix=<where to install>

after configure completes, a make bootstrap should run through.

Andreas






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]