Re: Some non-standard O_* flags are missing

2021-03-09 Thread Maxime Devos
On Tue, 2021-03-09 at 21:36 +0100, Andy Wingo wrote: > Hi :) Sure, would be happy to accept a patch for these. See and messages above. I'll look at updating NEWS and the manual later. > It's adding > more definitions to the base

Re: Linking to libraries in the ELF?

2021-03-09 Thread Andy Wingo
On Fri 29 Jan 2021 17:20, Maxime Devos writes: > I've got this crazy idea a few days ago, about the FFI interface. > When a program written in C is compiled with some shared libraries, > these libraries are referred to in special [insert ELF terminology > here] of the binary. I wonder if it

Re: [PATCH 1/1] scm_set_source_properties_x: optimize if only name, line, and/or col

2021-03-09 Thread Andy Wingo
On Sun 17 Jan 2021 23:55, Bruce Korb writes: > [Can I] swap out this code for something better now? I've disliked > this code for years. > >> static SCM >> ag_scm_c_eval_string_from_file_line( >>     char const * pzExpr, char const * pzFile, int line) Since Guile 2.0.1 you can (use-modules

Re: Some non-standard O_* flags are missing

2021-03-09 Thread Andy Wingo
Hi :) Sure, would be happy to accept a patch for these. It's adding more definitions to the base environment, which is usually a negative, but we'll have to find some kind of module solution for all of these flags at some point. If you do send a patch, please update the manual and NEWS also.

Re: [PATCH] Support cross compilation

2021-03-09 Thread Christopher Baines
Andy Wingo writes: > Hi :) > > Which library is this for? It doesn't appear to be guile itself. Hey, it's for guile-lib. > On Sun 14 Feb 2021 10:16, Christopher Baines writes: > >> With these changes, I was able to cross-compile guile-lib to the GNU >> Hurd, and use part of the library at

Re: [PATCH] Support cross compilation

2021-03-09 Thread Andy Wingo
Hi :) Which library is this for? It doesn't appear to be guile itself. Andy On Sun 14 Feb 2021 10:16, Christopher Baines writes: > With these changes, I was able to cross-compile guile-lib to the GNU > Hurd, and use part of the library at least. > > * configure.ac: Set GUILE_TARGET when