Solaris sed problems (was Re: top level build problem...)

Joel Sherrill joel.sherrill at
Wed May 31 21:55:20 UTC 2000

Dario Alcocer wrote:
> >>>>> "Joel" == Joel Sherrill <joel.sherrill at> writes:
>     Joel> "Aaron J. Grier" wrote:
>     >>  On Thu, May 25, 2000 at 02:25:32PM -0500, Joel Sherrill wrote:
>     >>
>     >> > Comments?
>     >>
>     >> It seems like you are already assuming GNU make to build RTEMS,
>     >> so you minus well use internal GNU make functions and ditch sed
>     >> entirely, if possible.
>     Joel> This particular sed is in the configure script so that is
>     Joel> not possible.
>     Joel> And even worse... configure uses sed to generate Makefile's
>     Joel> from's.  I don't see any easy way to generate a
>     Joel> valid Makefile in the libnetworking/include directory on
>     Joel> Solaris using /bin/sed.  The set of preinstall filenames is
>     Joel> too long for /bin/sed to process.
> I wonder if there's any way to process the filenames with a custom awk
> script which could be run by 'configure'.  Maybe Solaris awk doesn't
> have the limitations that Solaris sed has.  Another thought would be
> to require the 'configure' script to use GNU sed.

I think the real solution is to distribute the logic in this one include
file so it does not try to install so many header files from so
many places.


More information about the users mailing list