Adriaan van Os wrote:
Frank Heckenbach wrote:
Peter Schorn wrote:
- Using sed 4.1.4. instead of the Apple supplied version of sed
(maybe it would help to add an sed check in mk-t-inc).
Which sed feature or invocation is problematic actually? I tried not to use any GNU sed specific feature in this script.
I will follow up with that.
The gcc/p/utils/tree.inc created with the darwin system-installed sed ends with:
SN (gpc_type_PObjectType) SN (inoutres_variable_node) SN (null_pseudo_const_node)}
{$endif}
It doesn't have any of the
DEFTREECODE (ERROR_MARK, "error_mark", 'x', 0) DEFTREECODE (IDENTIFIER_NODE, "identifier_node", 'x', 0) ..... DEFTREECODE (RANGE_CHECK_EXPR, "range_check_expr", 'e', 3) DEFTREECODE (IO_RANGE_CHECK_EXPR, "io_range_check_expr", 'e', 3) #endif
that popup after rebuilding with gnu-sed-4.1.4 installed.
Also, there is the following problem when using the darwin system-installed sed
rm -rf p/docdemos ../../gcc-3.4.6/gcc/p/script/mkdir-p p/docdemos ../../gcc-3.4.6/gcc/p/script/extract-doc-demos -o p/docdemos ../../gcc-3.4.6/gcc/p/doc/*.texi ../../gcc-3.4.6/gcc/p/doc/generated/*.texi ../../gcc-3.4.6/gcc/p/doc/en/*.texi
Sorry, I could not find a non-crippled version of `sed' (one that understands regular expressions, in particular `|'). If or when you have installed one, e.g., GNU sed, available from ftp://ftp.gnu.org/pub/gnu/sed/ please install it as `sed', `gsed', or point the environment variable `SED' to it, and re-run.
This script needs a good sed to extract the demo programs from the GPC Manual. You can continue now and skip the installation of these demos.
Press ENTER to continue without docdemos; ^C to abort.
Regards,
Adriaan van Os