[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Review/help request: Chicken package in OpenWRT
From: |
Peter Bex |
Subject: |
Re: Review/help request: Chicken package in OpenWRT |
Date: |
Mon, 23 Sep 2024 08:43:44 +0200 |
On Sat, Sep 21, 2024 at 10:58:09AM -0300, Jeronimo Pellegrini wrote:
> chicken-config.h is written during the Chicken compilation process, but
> things go wrong
> in the OpenWRT build system: the built Chicken compiler will try to use, on
> the target,
> flags that only make sense in the host (because they were hardcoded in the
> binary, which
> includes chicken-config.h). So I made a patch to defaults.make which changes
> it to
> remove those.
It sounds a lot like a cross-compilation: you're using a particular set
of flags on the host, and you want to use different flags on the target
system.
Even if the architecture is the same, perhaps it makes more sense to
approach this as a cross-compilation situation. It's a bit heavy-handed
to do it this way, but it also makes sense in a way.
Cheers,
Peter