help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

imake,gmake on hp-ux


From: Yuri Shtil
Subject: imake,gmake on hp-ux
Date: Fri, 07 May 2004 01:59:18 GMT

Hi all,
I may be shooting in the dark ...

I am trying to use imake to generate gnu make files on multiple platforms.

I pulled X11R6-7.0 code for imake. It is pretty recent. ANyway, the imake I
built works perfectly on solaris.
The same imake compiled on hp-ux seems to not work properly. The reason is
that the cpp that imake heavily relies upon sticks an extra space at the
beginning
of line. Imake has code to handle this, but it deasn not work for some gmake
constructs. For example:

#define macro    @@\
a: b                    @@\
    @start action    @@\
ifdef foo        @@\
    @cond action    @@\
else                 @@\
    @more action    @@\
endif

Because of this extra space the ifdef/else/endif are considered by imake to
be part of the action and the result looks like this:

a: b
    @start action
    ifdef foo
    @cond action
    else
    @more action
    endif

This is treated by gmake as syntax error.

Has anyone seen this? Any solution?


Yuri.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]