From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OrqLb-0004gS-QU for garchives@archives.gentoo.org; Sat, 04 Sep 2010 10:51:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CDA1E07D1; Sat, 4 Sep 2010 10:51:30 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id E5CF7E07D1 for ; Sat, 4 Sep 2010 10:51:29 +0000 (UTC) Received: by iwn39 with SMTP id 39so2932934iwn.40 for ; Sat, 04 Sep 2010 03:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=nwc2BZvd84oe+pZO2reymr5Aacl4M/BuvWtZ9s0ai5U=; b=ITwlQ30OiQsoTEfGH19QFQt5XfvN7Qd0t7GZNUOi35Wmk1N51U3llUdfm1+2iAESHr kNiYPIL6vh19sRCf3+zFc7FGSDg1NbjeKhLJSxMY12GMad4P1O9ZtUeL+nK6B+PrRcbx k4EQl2f5nDyvCr5WTdyaP7jN+w/GZDoa5zEIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=pXal1uMYhUebrikFI96TgKP0iF6F4DpF26Ak+IarzmxvVRxUJHkXrgBKeV+D/coBbs nW8GEGhcoXKRCSCzswaEVRrYuB2iELR7SHgeQmBAi5WSIxHhNyukGKYEMiax7oNh6srt XO2gCXSPWWRCO/a3YrxZm8nxnw2guBflZESJY= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.231.14.140 with SMTP id g12mr2277980iba.84.1283597489596; Sat, 04 Sep 2010 03:51:29 -0700 (PDT) Received: by 10.231.37.138 with HTTP; Sat, 4 Sep 2010 03:51:29 -0700 (PDT) In-Reply-To: <20100904105851.6406a06d@scooter.muppet.show> References: <20100903220429.4c949e46@scooter.muppet.show> <20100904105851.6406a06d@scooter.muppet.show> Date: Sat, 4 Sep 2010 12:51:29 +0200 Message-ID: Subject: Re: [gentoo-user] gawk and filefuncs From: Al To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: cb944b4a-edca-448d-9fa0-daf9daa13152 X-Archives-Hash: 3f6e063676ac0d617d82db15f830c696 >> 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