[Top][All Lists]

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

Re: Makefiles and system architectures

From: Adam Fedor
Subject: Re: Makefiles and system architectures
Date: Fri, 17 Oct 2003 08:32:54 -0600

On Friday, October 17, 2003, at 06:16 AM, Nicola Pero wrote:

Hi Nicola,

Just a question to make sure that what I am thinking is correct:

When I build gnustep-make with the -march and -mcpu switches, are these then used for EVERY subproject? Meaning all of GNUstep and Apps is build
with these switches?

I'm not sure I understand exactly what you mean with your question :-),
but I understand you're trying to set flags when you compile gnustep-make hoping those would be used in all gnustep projects being compiled, and I
don't seem to remember an easy way of doing it.

You can set CFLAGS when configuring gnustep-make, but no, they don't get
stored in the make system for later use, and they are not used later.

I'm pretty sure you can set CFLAGS and LDFLAGS when configuring gnustep-make and they will be used later for everything.

CFLAGS (config.make) -> INTERNAL_CFLAGS (common.make) -> ALL_CFLAGS (rules.make) LDFLAGS (config.make) -> SYSTEM_LDFLAGS (library-combo.make) -> ALL_LDFLAGS (rules.make)

except that CFLAGS should go in ALL_OBJCFLAGS as well, I guess, using the same path as LDFLAGS. I should change that.

reply via email to

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