[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Big favour for any toolchain experts : gawk (gnu awk)
06-06-2009, 10:40 PM (This post was last modified: 06-06-2009 10:41 PM by lordy.)
Post: #1
Big favour for any toolchain experts : gawk (gnu awk)
Can someone compile GNU awk for me?
Or can someone point me at a pre-existing binary for NMT?


I specifically need the --lint switch so I can check my awk scripts for undefined variables etc.

Would be much appreciated! I've not had much time to set up a toolchain at the moment, and would like to give all my scripts a once over with the lint flag.

Example:

Code:
$ awk --lint 'function y(x) { print X;} BEGIN { r=5; } '
awk: cmd. line:1: warning: function `y' defined but never called

$ awk --lint 'function y(x) { print X;} BEGIN { r=y(5); } '
awk: warning: reference to uninitialized variable `X'

Shame it doesnt seem to report unused variables too. Maybe I'll try to patch it one day Smile

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
06-07-2009, 02:15 AM
Post: #2
RE: Big favour for any toolchain experts : gawk (gnu awk)
Done.. PM'ing you with the binary (will make available via CSI later).
Find all posts by this user
[+] 1 user says Thank You to Mr Segfault for this post
06-07-2009, 10:56 AM
Post: #3
RE: Big favour for any toolchain experts : gawk (gnu awk)
Many many thanks. I'll give it a spin..

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Compiling with nmt toolchain ssuukk 18 4,698 09-26-2010 06:09 AM
Last Post: ssuukk
  A110 Toolchain versions thica 44 9,335 08-13-2010 07:52 PM
Last Post: avanegmond
  network media tank toolchain Zaphot 143 70,115 10-15-2009 10:38 PM
Last Post: pac^man
  100 series toolchain tweak.. lordy 0 1,078 10-08-2009 12:19 PM
Last Post: lordy
  Cygwin - Toolchain/DirectFB - Install-Tutorial jo-the-ripper 9 12,086 09-14-2009 12:43 PM
Last Post: philofred
Question toolchain for win32? neonmnt 3 1,346 07-17-2009 03:49 PM
Last Post: lordy
  Anyone have a Toolchain setup for cross compile? Takenover83 7 2,651 06-07-2009 10:38 PM
Last Post: Takenover83
  adding zlib to the toolchain jjabba 5 2,749 05-25-2009 12:14 AM
Last Post: jjabba
  GNU screen for NMT ? melao 9 3,316 05-11-2009 05:25 PM
Last Post: nuke12
  creating toolchain wph 7 2,122 05-04-2009 06:57 AM
Last Post: wph

Forum Jump: