This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]