That sounds like a good option. I'll try to get that working this weekend

  Manoj

On October 18, 2017 10:51:00 PM PDT, Niels Thykier <ni...@thykier.net> wrote:
>On Mon, 1 Aug 2016 13:46:25 +0200 Helmut Grohne <hel...@subdivi.de>
>wrote:
>> Source: flex
>> Version: 2.6.1-1
>> Tags: patch
>> User: helm...@debian.org
>> Usertags: rebootstrap
>> 
>> Hi Manoj,
>> 
>> I see that you found time for working on flex again. Unfortunately
>the
>> upstream changes to 2.6.1 make it fail to cross build again. This
>time,
>> a stage1flex was added to produce the scanner built into flex itself.
>Of
>> course, we can't just run stage1flex during a cross build. I'm
>attaching
>> a patch that uses the system flex (required for help2man already)
>> instead.
>> 
>> With that patch and fixing flex to be M-A:foreign again and working
>> around #815172, I can successfully cross build flex again. Could you
>> apply this patch?
>> 
>> Also what's your progress on the flex/libfl-dev split MBF? I see that
>> you asked on d-devel for it and there were no objections. What's the
>> progress of it?
>> 
>> Helmut
>
>Hi,
>
>I noticed the following in release notes for flex 2.6.{3,4}, which may
>be relevant to this bug.
>
>2.6.3:
>
>"""
>A new configure option --disable-bootstrap changes the behavior of
>the build system when building flex. The default
>"--enable-bootstrap" behavior is to build flex, then to use that
>flex to build flex again. With --disable-bootstrap, the scanner is
>simply built by sedding the scanner source. This is friendlier to
>cross compilation.
>
>The compatibility functions in lib/ are no longer built as a
>library. Instead, they are built as $(LIBOBJ) objects. This is
>simpler and friendlier to cross compilation.
>
>It is now possible to build flex without building the accompanying
>libfl. This is friendlier to cross compilation. See the
>--disable-libfl option to configure. Resolves #99.
>
>[...]
>
>the distributed man page is only rebuilt when the relevant source
>files change or when the binary doesn't exist. In particular, this
>is friendlier to cross compilation. Resolves #108
>""""
>
>
>2.6.4:
>"""
>Flex can be cross compiled.
>"""
>
>
>I.e. this looks like it is now solvable by upgrading to a newer version
>of flex (and passing the proper flags to configure during cross
>building).
>
>Thanks,
>~Niels

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Reply via email to