[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] amhello: help compilers not supporting -c and -o together
From: |
Stefano Lattarini |
Subject: |
Re: [PATCH] amhello: help compilers not supporting -c and -o together |
Date: |
Thu, 05 Jan 2012 10:04:58 +0100 |
On 01/05/2012 01:46 AM, Peter Rosin wrote:
> Hi!
>
> Ok for maint, or should the example be as simple as it can possible get
> even if portability is sacrificed?
>
Are you sure portability is being sacrificed in our example? I thought that
the use of `-c' and `-o' together was only required when target-specific flags
where used (as with e.g. "foo_CPPFLAGS = -DFOO=1"). Am I missing something?
You might also want to look at the test `amhello-binpkg.test'; if it doesn't
fail when using a compiler that cannot grasp `-c -o' together, then our example
should have no portability problem.
Thanks,
Stefano