One way we are trying to achieve this in GRUB 2 is, by using nested
projects feature. In grub 2 some parts needs to be compiled using
HOST_CC and others using TARGET_CC. All sources that need TARGET_CC
are moved into a sub-directory and we a separate configure.ac file for
them. Top-level directo
* Brian J. Murrell wrote on Mon, Jun 07, 2010 at 09:51:25PM CEST:
>
> I was just surprised that I could set CFLAGS and LDFLAGS and additional
> linker arguments on a per target basis but not specify a compiler and/or
> linker on a per target basis.
>
> Would this be something difficult to add or
On Sun, 2010-06-06 at 12:51 +0200, Ralf Wildenhues wrote:
> Hello Brian,
Hi Ralf,
> What do you need $(LD) or $(foo_LD) for? It is not referenced by any
> automake-generated rules really.
LD is the rough representation of whatever should be used for the link
phase. I suppose in most (gnu) cas
Hello Brian,
* Brian J. Murrell wrote on Thu, Jun 03, 2010 at 08:10:26PM CEST:
> I have a Makefile.am with a number of targets in it. Some of those
> targets need $(CC) and/or $(LD) to be reassigned to a particular value
> while others are fine with the default (or could be explicitly assigned
>
Hi Brian,
Am 6/3/2010 11:50 AM, schrieb Brian J. Murrell:
> On Thu, 2010-06-03 at 11:42 -0700, Christian Rössel wrote:
>> Hi Brian,
>
> Hey Christian,
>
> Thanx for taking the time.
>
>> I use a separate Makefile for MPI targets.
>
> This is what I did last time around. In fact I created a "
On Thu, 2010-06-03 at 11:42 -0700, Christian Rössel wrote:
> Hi Brian,
Hey Christian,
Thanx for taking the time.
> I use a separate Makefile for MPI targets.
This is what I did last time around. In fact I created a "mpi" subdir
for my MPI sources. I'm looking to avoid doing that again for th
Hi Brian,
Am 6/3/2010 11:10 AM, schrieb Brian J. Murrell:
> I have a Makefile.am with a number of targets in it. Some of those
> targets need $(CC) and/or $(LD) to be reassigned to a particular value
> while others are fine with the default (or could be explicitly assigned
> gcc if need be).
>
>
I have a Makefile.am with a number of targets in it. Some of those
targets need $(CC) and/or $(LD) to be reassigned to a particular value
while others are fine with the default (or could be explicitly assigned
gcc if need be).
I notice there is no CC/LD equivillent of the "prog_{C,F}LAGS" type
va