Displaying 2 results from an estimated 2 matches for "klccin".
Did you mean:
  klcc
  
2005 Mar 09
1
makeklcc.pl passes '' to ld if LDFLAGS empty among things
...".$s."\')";
+    } else {
+       return "()";
+    }
 }
 print "#!${perlpath}\n";
-----
Or the more extreme:
-----
--- 1/makeklcc.pl       2005-03-10 00:22:03.000000000 +0200
+++ 2/makeklcc.pl       2005-03-10 01:26:51.000000000 +0200
@@ -7,24 +7,14 @@
 ($klccin, $klibcconf, $perlpath) = @ARGV;
-# This should probably handle quotes and escapes...
-sub string2list($)
-{
-    my($s) = @_;
-
-    $s =~ s/\s+/\',\'/g;
-    return "(\'".$s."\')";
-}
-
 print "#!${perlpath}\n";
 open(KLIBCCONF, '<', $kli...
2006 Jan 25
1
Don't hardcode paths in klcc
..., klcc is a Perl script but my hardcoding the paths
you make it less portable.
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
--- klibc-1.1.16/klcc/makeklcc.pl~	2006-01-25 21:30:48.000000000 +0000
+++ klibc-1.1.16/klcc/makeklcc.pl	2006-01-25 21:39:59.000000000 +0000
@@ -9,23 +9,6 @@
 
 ($klccin, $klibcconf, $perlpath) = @ARGV;
 
-sub pathsearch($) {
-    my($file) = @_;
-    my(@path);
-    my($p,$pp);
-
-    if ( $file =~ /\// ) {
-	return File::Spec->rel2abs($file);
-    }
-    
-    foreach $p ( split(/\:/, $ENV{'PATH'}) ) {
-	$pp = File::Spec->rel2abs(File::Spec->catp...