need help on gcc installation

Andreas Tobler toa@pop.agri.ch
Tue Apr 29 18:05:00 GMT 2003


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







More information about the Gcc mailing list