found a glitch in fix-embedded-paths.c of crosstool-0.42

Dan Kegel dank@kegel.com
Fri Mar 24 15:36:00 GMT 2006


Thanks, I'll fix it!
- Dan

On 3/24/06, Sven Oliver Moll <svolli@h8u.de> wrote:
> Hello Dan!
>
> I'm trying to get a toolchain that's as close as possible to the one that's
> been used to develop for the GP2X, an arm-linux based handheld game console.
>
> The target is an gcc-2.95.3-glibc-2.2.5 system. I'm using a gcc-2.95.4 as a
> host compiler (debian 3.0). At my system the build process breaks at line
> 377 of fix-embedded-paths.c. If you replace the
> ... strlen("/oldpath"),
> statement with
> ... sizeof("/oldpath")-1,
> you'll get the same result without the error during compilation.
>
> The problem is that strlen() will calclate dynamically there a constant is
> needed, at least with gcc-2.95.
>
> Hope this helps, and thanks for crosstool. :-)
>
> Greetings from Germany,
> SvOlli
> --
> |  _______       |
> | (  /\          | ... the Mayo Clinic, named after
> |__)v\/lli a.k.a.| its founder, Dr. Ted Clinic ...
> |Sven Oliver Moll|   -- Dave Barry
>


--
Wine for Windows ISVs: http://kegel.com/wine/isv

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list