From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27432 invoked by alias); 29 Apr 2003 17:29:46 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 27422 invoked from network); 29 Apr 2003 17:29:45 -0000 Received: from unknown (HELO mail02.agrinet.ch) (212.28.134.115) by sources.redhat.com with SMTP; 29 Apr 2003 17:29:45 -0000 Received: from pop.agri.ch (217.162.232.206) by mail02.agrinet.ch (7.0.012) (authenticated as toa@pop.agri.ch) id 3E943C8A000DB4FD; Tue, 29 Apr 2003 19:29:21 +0200 Message-ID: <3EAEB66B.90209@pop.agri.ch> Date: Tue, 29 Apr 2003 18:05:00 -0000 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gonca Orgulu CC: gcc@gcc.gnu.org Subject: Re: need help on gcc installation References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg01476.txt.bz2 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= after configure completes, a make bootstrap should run through. Andreas