Re: [linux-sh:03294] Re: Weird behaviour, possible compiler bug?

Dan Kegel <[email protected]> Thu, 19 Aug 2004 08:52:43 -0700
Newsgroups gmane.comp.gcc.cross-compiling,gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Message-ID <[email protected]>
Alex Bennee wrote:
> On Wed, 2004-08-18 at 20:33, Daniel Kegel wrote:
> 
>>Have you tried building a kernel with gcc-3.4.1 yet?
> 
> Is there a more upto date .dat/patches dir for gcc3.4? 

Nope.

> The snapshots on
> gcc.gnu.org are more upto date - I've hacked the .dat file and am
> running the build but I'm unsure how the patch magic works (which is why
> I use crosstool in the first place ;-)

That's why you ran into trouble with gcc-3.3.3.  You hacked
the .dat file to use a snapshot, but since the patches are
taken from a directory named after the gcc version, you
didn't get the patches.

If you are using something like gcc-3.3.4, but that is named gcc-3.3-foo,
and you want the patches for gcc-3.3.4, then you need to do
   cd patches
   ln -s gcc-3.3.4 gcc-3.3-foo
or something like that.  Ditto for 3.4.1.

So go back to your 3.3-ish snapshot, add the missing symlink
in the crosstool/patches directory, and try again.  No need
to play with gcc-3.4 if all you wanted was to get 3.3 working.

Have a look at crosstool/getandpatch.sh if you want to see
how the patch stuff works.
- Dan



-- 
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to [email protected]