This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: Make -j* switch not used in v3 32 bit multilib dir?


In article <40F70649.5090200@specifixinc.com> you write:
>I am not sure about whether the automake change is desirable.  GCC 
>requires GNU make now, so there is no portability issue, but this might 
>be a problem for other automake users if the + is not portable make.  I 
>don't know offhand.  Perhaps there are other ways to fix this that avoid 
>questions about makefile portability.

+ is part of the single-unix 3 specification.  Doesn't mean that every
Unix has got it. In fact, OpenBSD's flavor of bmake didn't have it until
I added it.

One thing you can do is get the + from a variable, e.g., stuff like

PLUS=+

target:
	${PLUS}cd dir && exec ${MAKE} target

ought to work just fine, and someone can define PLUS away on the command
line if needed...


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