[PATCH] Fix includes for <string.h> and PATH_MAX

Christian Jaeger christian@jaeger.mine.nu
Mon Aug 11 21:40:00 GMT 2008


This was required for me to build the configtool (using
host/configure) on Debian testing (Lenny) with gcc 4.3.1

Probably there are nicer places to put those includes, though.
---
PS. gcc 4.2.4-3 is also installed, but the default compiler "gcc" is
set to 4.3.1-8.

PS.2: note that I also had to change acsupport/config.sub to

    #! /bin/sh
    echo "$1"

as I'm on a x86_64 machine and it didn't recognize the string.

PS.3: there were also tons of warnings which I didn't care about.

PS.4: tell me if you can handle this kind of patches (there are some
knobs to tweak)


 host/infra/assert.cxx                              |    4 ++++
 host/libcdl/build.cxx                              |    4 ++++
 host/libcdl/cdlmisc.cxx                            |    3 +++
 host/libcdl/parse.cxx                              |    3 +++
 .../configtool/standalone/common/cdl_exec.cxx      |    3 +++
 .../configtool/standalone/common/ecosconfig.cxx    |    1 +
 6 files changed, 18 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 097b0aaaaabc6116f35cc8b18479cf0b8c848863.diff
Type: text/x-patch
Size: 2485 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20080811/4e18ab7d/attachment.bin>


More information about the Ecos-patches mailing list