libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Repost: Maximum command line length for AmigaOS


From: Dalibor Topic
Subject: [PATCH] Repost: Maximum command line length for AmigaOS
Date: Wed, 09 Jul 2003 01:38:52 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4) Gecko/20030624

This patch was first posted to address@hidden org on Sat, 14 Jun 2003 09:47:10 -0700. It has been pinged and reposted to libtool-patches in the mean time without receiving an answer.

Hi all,

the libtool m4 macros check among other things for maximum command line length.
As Tony Wyatt found out [1] the test takes more than an hour to complete on
m68k-amigaos using pdksh.

I've attached a patch that sets maximum command line length on the amiga to 8K.
Tony tested it, and it worked for him. So it would be nice if it could find
it's way into the next libtool release.

cheers,
dalibor topic

p.s. We have more patches for libtool pending in kaffe 1.1.0 [2]. I'll send you
small patches over the next week on this forum, if that's o.k.

[1] http://www.kaffe.org/pipermail/kaffe/2003-June/042602.html
[2] http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/developers/

diff -urN /HG/hiwis/topic/PROJECTS/kaffe/libltdl/acinclude.m4 
kaffe-amiga-libtool/libltdl/acinclude.m4
--- /HG/hiwis/topic/PROJECTS/kaffe/libltdl/acinclude.m4 Thu Jun  5 10:42:49 2003
+++ kaffe-amiga-libtool/libltdl/acinclude.m4    Tue Jun 10 18:13:38 2003
@@ -669,2 +669,2 @@
     lt_cv_sys_max_cmd_len=8192;
     ;;

+  amigaos*)
+    # On AmigaOS with pdksh, this test takes hours, literally.
+    # So we just punt it and use a minimum line length of 8192.
+    lt_cv_sys_max_cmd_len=8192;
+    ;;
+
  *)
     # If test is not a shell built-in, we'll probably end up computing a
     # maximum length that is only half of the actual maximum length, but

reply via email to

[Prev in Thread] Current Thread [Next in Thread]