This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: need help on gcc installation
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Gonca Orgulu <gonca at anatolia dot koeri dot boun dot edu dot tr>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 29 Apr 2003 19:29:15 +0200
- Subject: Re: need help on gcc installation
- References: <Pine.SOL.3.95.1030429172836.5902A-100000@anatolia>
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