[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to re
From: |
Ladislav Michl |
Subject: |
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd |
Date: |
Tue, 4 Feb 2020 01:44:06 +0100 |
On Mon, Feb 03, 2020 at 07:13:47PM -0500, Greg Troxel wrote:
> "Gary E. Miller" <address@hidden> writes:
>
> > Maybe gpsd needs an "I am cross-compiling" option?
>
> I think this would be good, regardless of the details.
>
> Cross compiling implies multiple things:
>
> anything to deal with the current system should be omitted. Besides
> whatever about systemd (that I don't use either) there is as I
> understand it the notion on Linux that one should run 'ldconfig' after
> installing a library. But this is a host system thing.
>
> When checking for features, one can try to compile programs (with the
> provided toolcahin, against the provided headers), but one cannot try
> to run them.
>
> probably other things I'm forgetting
>
>
> and in general if we have a "are we cross compiling" variable and then
> switch things on it, when that makes sense, it seems like life will be
> simpler.
I know I'm stepping on thin ice, but... In autotools world, whenever --host
option different from --build is given, that means cross-compiling.
https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Specifying-Target-Triplets.html
Gpsd'd 'target' option seemed to serve this purpose to me.
So what about introducing internal variable first, so we can
make decision on a clear logic, and decide lated how to feed
this variable. Of course that could easily wait after release.
Best regards,
ladis
- Re: [PATCH 2/3] SConstruct: Use target_python when constructing extension name, (continued)
- Re: [PATCH 2/3] SConstruct: Use target_python when constructing extension name, Ladislav Michl, 2020/02/06
- Re: [PATCH 2/3] SConstruct: Use target_python when constructing extension name, Gary E. Miller, 2020/02/06
- Re: [PATCH 2/3] SConstruct: Use target_python when constructing extension name, Ladislav Michl, 2020/02/07
- Re: [PATCH 2/3] SConstruct: Use target_python when constructing extension name, Gary E. Miller, 2020/02/07
- Re: [PATCH 2/3] SConstruct: Use target_python when constructing extension name, Ladislav Michl, 2020/02/07
[PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd, Ladislav Michl, 2020/02/02
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd, Ladislav Michl, 2020/02/03
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd, Gary E. Miller, 2020/02/04
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd, Ladislav Michl, 2020/02/04
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd, Ladislav Michl, 2020/02/06
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd, Gary E. Miller, 2020/02/06
Re: [PATCH 3/3] SConstruct: Use 'target' option to decide whenewer to restart systemd, Ladislav Michl, 2020/02/07
Re: [PATCH 0/3] Cross build nitpicks, Ladislav Michl, 2020/02/03