Hi Ad, I tried buildtool for the first time last week and hit the gcc v3 versus gcc v4 issue (I'm running on Fedora 7).
The buildtool docs describe the need to edit make/MasterInclude.mk and change the setting of HOSTCC to point to gcc 3.3 or 3.4. I installed gcc 3.4 in /usr/local/bin and found that I had to specify the full path rather than just the command name, since I guess /usr/local/bin isn't in the command search path for the build environmnent. Specifying: export HOSTCC:=/usr/local/bin/gcc34 worked for me. davidMbrooke On Mon, 2007-10-22 at 16:10 +1000, Adam Niedzwiedzki wrote: > Hi guys, > > Ok these has to be a way to get this to work... I really need to setup a > build environment. > I've tried everything, I've tried several installs I've tried different > versions of gcc3.3 gcc3.4 etc etc > My build still dies at the same place. > > As my leaf user gcc --version outputs the correctly mapped gcc, is it the > perl version? 5.8 v's 5.6 etc.. > > Surely it's just something simple, but where can I begin to find what? > > Please HELP!!!!! Anyone!!!! > > Cheers > Ad > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of KP > Kirchdoerfer > Sent: Saturday, 4 August 2007 9:31 AM > To: leaf-devel@lists.sourceforge.net > Subject: Re: [leaf-devel] Can't get buildtool to work.. > > On Thursday 02 August 2007 08:33:04 Adam Niedzwiedzki wrote: > > Hi Martin, > > > > Tried all that :( > > > > [EMAIL PROTECTED]:~/src/bering-uclibc/buildtool$ which gcc > > /usr/bin/gcc > > [EMAIL PROTECTED]:~/src/bering-uclibc/buildtool$ gcc --version > > gcc (GCC) 3.4.6 (Debian 3.4.6-5) > > 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. > > > > gcc is mapped correctly, but buildtool still dies > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Martin Hejl > > Sent: Wednesday, 1 August 2007 2:59 AM > > To: leaf-devel@lists.sourceforge.net > > Subject: Re: [leaf-devel] Can't get buildtool to work.. > > > > Adam Niedzwiedzki wrote: > > > Resend, I couldn't attach the zip'd logfile (it can be gotten from > > > http://www.genis-x.net/buildtoollog.zip) > > > > tried it on Centos 5, and it works fine without any problems (well, I > > temporarily had to replace gcc 4.1 with gcc 3.x, but that's a known > > issue, and I think it's also documented). > > Not that it working on Centos helps you a great deal, but it suggests > > it's something debian related. > > > > > It's like it's not following > > > /home/leaf/src/bering-uclibc/buildtool/source/buildenv/buildtool.mk at > > > all it handles binuntils fine then totally skips gcc and goes on with > > > uClibc > > > > Not quite. It's doing the stuff that's part of "./buildtool.pl source" > > for uclibc - and that causes the host gcc to be invoked, which can't be > > found, hence make quits. > > > > What does "which gcc" say on your box (as user leaf)? It seems to me > > like there's no gcc in the path of user leaf on your box. > > > > Martin > > > > > Hi; > > Martin's question helped me to get it up and running in a VM with Debian 4 > iso-image. > > My previous fault has been that I didn't install gcc, but only gcc-3.3.3. So > I > had no link any gcc. > > I removed gcc-3.3.3 - installed gcc, and added gcc-3.3.3 again. Removed the > old buildtool directories. Then I've finally been able to build the > buildenv. > > So I suggest you may start from scratch again. It is working :) > > kp > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel