>> You say it is mandatory on a Gentoo system, because there are awk
>> scripts that rely on. Do this functions break because of the missing
>> kernel? What would be the workaround?
>
> How are you building it? It needs special commands because it needs to
> become a shared object, not an executable.
>

Here is how I am building it and the whole context:

http://en.gentoo-wiki.com/wiki/Prefix/Cygwin#gawk-3.1.7:_.5Bfilefuncs.so.0.0.1.5D_Error_1

emerge --oneshot gawk


> Note that building that file is by no means necessary for a working gawk.
>
> And, even if you built it, it wouldn't do anything unless you specifically
> used the extension() gawk command to reference the object file and import
> the extra definitions (see the link I posted in the first email for all
> the gory details. Also the Makefile that comes with Gentoo's own
> filefuncs.c may help).

I did understand, that it is an extension, which provides additional
commands for awk scripts and that the gentoo system makes use of them
especially of it's own additions.

Options:

1.) It would compile on Cygwin. I just made a mistake.
2.) It depends on the  missing kernel. I have to rewrite Gentoos
filefuncs.c to work without a linux kernel.
3.) I can go with the original extension. Portage does not really
depend on Gentoos additions.
4.) I have to adapt all awk scripts that make use of it.

Al

Reply via email to