This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building the current snapshot on Windows with Guile


Doug Evans <xdje42@gmail.com> skribis:

> (*1): As Ludo suggested, we could compile these files during a gdb
> build, but that doesn't work in a cross-compilation scenario (without
> requiring more complexity in the build, which would be nice to avoid).
> Are these files guaranteed to be equivalent across configurations (I'm
> guessing not), and if not does guile provide a cross-compiler for them
> (I'm guessing not - could be wrong of course)?

It does provide a cross-compiler (info "(guile) Compilation"):

  guix compile --target=mips64el-linux-gnu foo.scm -o foo.go

But note that the interpretation of triplets might defer from that of
GDB.  In particular, for platforms that support several ABIs with
different word sizes, it recognizes some specific triplet
extensionsâe.g., âmips64el-linux-gnuabi64â for the N64 ABI on MIPS.  See
<http://git.savannah.gnu.org/cgit/guile.git/tree/module/system/base/target.scm#n76>.

Ludoâ.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]