Re: [autotools] gtk-doc.m4 - cross compile support



On Sun, Oct 7, 2018 at 11:04 PM Fontana Nicola <ntd entidi it> wrote:

Il giorno dom, 07/10/2018 alle 16.09 +0300, Alon Bar-Lev via gtk-doc-list ha
scritto:
On Sun, Oct 7, 2018 at 3:53 PM John Cupitt via gtk-doc-list
<gtk-doc-list gnome org> wrote:
...
Rather than trying to generate docs in the target, I build my docs in
the host and copy the formatted output over.

...
This means that you can run the gtk utilities that are installed on
the build part to generate documentation.
...

Hi,

you say that you can/should run gtk-doc on the build side, and I fail to
understand what makes you think so.

In particular, AFAIK gtkdoc-scangobj must compile and run a program to
introspect the hierarchy, and I don't see how this can be possible if
you are on the build side. Maybe you can workaround that, but I'm pretty
sure it is as straightforward as you seem to think.

I double John's suggestion: build on the host and copy the result.

OK, so no gtk-doc when cross comping, will disable gtk-doc when cross
compiling for packages I maintain in gentoo.

BTW: just a thought, if you compile on demand the scanobj, then you
can use the build CC/LD and it will compile, it can analyze the host
format, just like any toolchain tool.

Thanks!
Alon


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]