public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 3 of 3] companion_tools/libtool: Add libtool tool
  2010-01-12 22:05 [PATCH 0 of 3] Add m4, automake and libtool as companion tools Richard Strand
  2010-01-12 22:05 ` [PATCH 1 of 3] companion_tools/m4: Add m4 tool Richard Strand
@ 2010-01-12 22:05 ` Richard Strand
  2010-01-12 22:05 ` [PATCH 2 of 3] companion_tools/automake: Add automake tool Richard Strand
  2010-01-12 23:01 ` [PATCH 0 of 3] Add m4, automake and libtool as companion tools Yann E. MORIN
  3 siblings, 0 replies; 7+ messages in thread
From: Richard Strand @ 2010-01-12 22:05 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

# HG changeset patch
# User Richard Strand <richard.strand@icomera.com>
# Date 1263332877 0
# Node ID c43d16b6b950efe67a0b5fc9fff0582ace626045
# Parent  dd72fa7453189df8f2449aa0665f5425aaabd86d
companion_tools/libtool: Add libtool tool

Add version 2.2.6b of libtool as a companion tool

Signed-off-by: Richard Strand <richard.strand@icomera.com>

diff -r dd72fa745318 -r c43d16b6b950 config/companion_tools.in
--- a/config/companion_tools.in	Tue Jan 12 21:47:36 2010 +0000
+++ b/config/companion_tools.in	Tue Jan 12 21:47:57 2010 +0000
@@ -13,6 +13,7 @@
         m4 >= 1.4.12
         autoconf >= 2.63
         automake >= 1.10.2
+        libtool >= 2.2.4
       
       If your system has older versions, we can build them for you,
       but you are strongly encouraged to update your system instead!
@@ -31,6 +32,10 @@
     bool
     prompt "automake"
 
+config COMP_TOOLS_libtool
+    bool
+    prompt "libtool"
+
 endif
 
 endmenu
diff -r dd72fa745318 -r c43d16b6b950 scripts/build/companion_tools/400-libtool.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/build/companion_tools/400-libtool.sh	Tue Jan 12 21:47:57 2010 +0000
@@ -0,0 +1,27 @@
+# Build script for libtool
+
+CT_LIBTOOL_VERSION=2.2.6b
+
+do_companion_tools_libtool_get() {
+    CT_GetFile "libtool-${CT_LIBTOOL_VERSION}" \
+               {ftp,http}://ftp.gnu.org/gnu/libtool
+}
+
+do_companion_tools_libtool_extract() {
+    CT_Extract "libtool-${CT_LIBTOOL_VERSION}"
+    CT_Patch "libtool-${CT_LIBTOOL_VERSION}"
+}
+
+do_companion_tools_libtool_build() {
+    CT_DoStep EXTRA "Installing libtool"
+    mkdir -p "${CT_BUILD_DIR}/build-libtool"
+    CT_Pushd "${CT_BUILD_DIR}/build-libtool"
+    
+    CT_DoExecLog ALL \
+    "${CT_SRC_DIR}/libtool-${CT_LIBTOOL_VERSION}/configure" \
+        --prefix="${CT_TOOLS_OVERIDE_DIR}"
+    CT_DoExecLog ALL make
+    CT_DoExecLog ALL make install
+    CT_Popd
+    CT_EndStep
+}

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 0 of 3] Add m4, automake and libtool as companion tools
@ 2010-01-12 22:05 Richard Strand
  2010-01-12 22:05 ` [PATCH 1 of 3] companion_tools/m4: Add m4 tool Richard Strand
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Richard Strand @ 2010-01-12 22:05 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Hi Yann, All,

Here are the other promised patches. I've tweaked the install prefix to use the
new CT_TOOLS_OVERIDE_DIR path.

If you have gcc >= 4.3.3 then you may see the message
"%n in writable segment detected" when building m4. Apparently this is valid
gcc output and can be ignored - see this page for more details:
http://bugs.gentoo.org/show_bug.cgi?id=257279

Regards,

Richard Strand

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1 of 3] companion_tools/m4: Add m4 tool
  2010-01-12 22:05 [PATCH 0 of 3] Add m4, automake and libtool as companion tools Richard Strand
@ 2010-01-12 22:05 ` Richard Strand
  2010-01-12 22:05 ` [PATCH 3 of 3] companion_tools/libtool: Add libtool tool Richard Strand
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Richard Strand @ 2010-01-12 22:05 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

# HG changeset patch
# User Richard Strand <richard.strand@icomera.com>
# Date 1263332834 0
# Node ID 60b7ebc4709a514df74d1a3db46b75a1979751b0
# Parent  5f222264bb54d2c75f1efb09937dcdb5328bdd85
companion_tools/m4: Add m4 tool

Add version 1.4.13 of m4 as a companion tool

Signed-off-by: Richard Strand <richard.strand@icomera.com>

diff -r 5f222264bb54 -r 60b7ebc4709a config/companion_tools.in
--- a/config/companion_tools.in	Tue Jan 12 21:09:30 2010 +0100
+++ b/config/companion_tools.in	Tue Jan 12 21:47:14 2010 +0000
@@ -10,6 +10,7 @@
     prompt "Build some companion tools"
     help
       Crosstool-NG relies on some external tools to be recent enough, namely:
+        m4 >= 1.4.12
         autoconf >= 2.63
       
       If your system has older versions, we can build them for you,
@@ -17,6 +18,10 @@
 
 if COMP_TOOLS
 
+config COMP_TOOLS_m4
+    bool
+    prompt "m4"
+
 config COMP_TOOLS_autoconf
     bool
     prompt "autoconf"
diff -r 5f222264bb54 -r 60b7ebc4709a scripts/build/companion_tools/100-m4.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/build/companion_tools/100-m4.sh	Tue Jan 12 21:47:14 2010 +0000
@@ -0,0 +1,27 @@
+# Build script for m4
+
+CT_M4_VERSION=1.4.13
+
+do_companion_tools_m4_get() {
+    CT_GetFile "m4-${CT_M4_VERSION}" \
+               {ftp,http}://ftp.gnu.org/gnu/m4
+}
+
+do_companion_tools_m4_extract() {
+    CT_Extract "m4-${CT_M4_VERSION}"
+    CT_Patch "m4-${CT_M4_VERSION}"
+}
+
+do_companion_tools_m4_build() {
+    CT_DoStep EXTRA "Installing m4"
+    mkdir -p "${CT_BUILD_DIR}/build-m4"
+    CT_Pushd "${CT_BUILD_DIR}/build-m4"
+    
+    CT_DoExecLog ALL \
+    "${CT_SRC_DIR}/m4-${CT_M4_VERSION}/configure" \
+        --prefix="${CT_TOOLS_OVERIDE_DIR}"
+    CT_DoExecLog ALL make
+    CT_DoExecLog ALL make install
+    CT_Popd
+    CT_EndStep
+}

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 2 of 3] companion_tools/automake: Add automake tool
  2010-01-12 22:05 [PATCH 0 of 3] Add m4, automake and libtool as companion tools Richard Strand
  2010-01-12 22:05 ` [PATCH 1 of 3] companion_tools/m4: Add m4 tool Richard Strand
  2010-01-12 22:05 ` [PATCH 3 of 3] companion_tools/libtool: Add libtool tool Richard Strand
@ 2010-01-12 22:05 ` Richard Strand
  2010-01-12 23:01 ` [PATCH 0 of 3] Add m4, automake and libtool as companion tools Yann E. MORIN
  3 siblings, 0 replies; 7+ messages in thread
From: Richard Strand @ 2010-01-12 22:05 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

# HG changeset patch
# User Richard Strand <richard.strand@icomera.com>
# Date 1263332856 0
# Node ID dd72fa7453189df8f2449aa0665f5425aaabd86d
# Parent  60b7ebc4709a514df74d1a3db46b75a1979751b0
companion_tools/automake: Add automake tool

Add version 1.11.1 of automake as a companion tool

Signed-off-by: Richard Strand <richard.strand@icomera.com>

diff -r 60b7ebc4709a -r dd72fa745318 config/companion_tools.in
--- a/config/companion_tools.in	Tue Jan 12 21:47:14 2010 +0000
+++ b/config/companion_tools.in	Tue Jan 12 21:47:36 2010 +0000
@@ -12,6 +12,7 @@
       Crosstool-NG relies on some external tools to be recent enough, namely:
         m4 >= 1.4.12
         autoconf >= 2.63
+        automake >= 1.10.2
       
       If your system has older versions, we can build them for you,
       but you are strongly encouraged to update your system instead!
@@ -26,6 +27,10 @@
     bool
     prompt "autoconf"
 
+config COMP_TOOLS_automake
+    bool
+    prompt "automake"
+
 endif
 
 endmenu
diff -r 60b7ebc4709a -r dd72fa745318 scripts/build/companion_tools/300-automake.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/build/companion_tools/300-automake.sh	Tue Jan 12 21:47:36 2010 +0000
@@ -0,0 +1,27 @@
+# Build script for automake
+
+CT_AUTOMAKE_VERSION=1.11.1
+
+do_companion_tools_automake_get() {
+    CT_GetFile "automake-${CT_AUTOMAKE_VERSION}" \
+               {ftp,http}://ftp.gnu.org/gnu/automake
+}
+
+do_companion_tools_automake_extract() {
+    CT_Extract "automake-${CT_AUTOMAKE_VERSION}"
+    CT_Patch "automake-${CT_AUTOMAKE_VERSION}"
+}
+
+do_companion_tools_automake_build() {
+    CT_DoStep EXTRA "Installing automake"
+    mkdir -p "${CT_BUILD_DIR}/build-automake"
+    CT_Pushd "${CT_BUILD_DIR}/build-automake"
+    
+    CT_DoExecLog ALL \
+    "${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \
+        --prefix="${CT_TOOLS_OVERIDE_DIR}"
+    CT_DoExecLog ALL make
+    CT_DoExecLog ALL make install
+    CT_Popd
+    CT_EndStep
+}

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0 of 3] Add m4, automake and libtool as companion tools
  2010-01-12 22:05 [PATCH 0 of 3] Add m4, automake and libtool as companion tools Richard Strand
                   ` (2 preceding siblings ...)
  2010-01-12 22:05 ` [PATCH 2 of 3] companion_tools/automake: Add automake tool Richard Strand
@ 2010-01-12 23:01 ` Yann E. MORIN
  2010-01-12 23:31   ` Richard Strand
  3 siblings, 1 reply; 7+ messages in thread
From: Yann E. MORIN @ 2010-01-12 23:01 UTC (permalink / raw)
  To: crossgcc; +Cc: Richard Strand

Richard, All,

On Tuesday 12 January 2010 23:04:27 Richard Strand wrote:
> Here are the other promised patches. I've tweaked the install prefix to use the
> new CT_TOOLS_OVERIDE_DIR path.

Very good! Applied as :
m4      : 60b7ebc4709a
automake: dd72fa745318
libtool : c43d16b6b950

> If you have gcc >= 4.3.3 then you may see the message
> "%n in writable segment detected" when building m4. Apparently this is valid
> gcc output and can be ignored - see this page for more details:
> http://bugs.gentoo.org/show_bug.cgi?id=257279

OK. Good to know. This indeed and definitely is valid.

Thank you for your patches! :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0 of 3] Add m4, automake and libtool as companion tools
  2010-01-12 23:01 ` [PATCH 0 of 3] Add m4, automake and libtool as companion tools Yann E. MORIN
@ 2010-01-12 23:31   ` Richard Strand
  2010-01-13 23:10     ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Strand @ 2010-01-12 23:31 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Yann E. MORIN wrote:
>> Here are the other promised patches. I've tweaked the install prefix to use the
>> new CT_TOOLS_OVERIDE_DIR path.
>>     
>
> Very good! Applied as :
> m4      : 60b7ebc4709a
> automake: dd72fa745318
> libtool : c43d16b6b950
>   

Great, I guess these features could be removed from the TODO now, or do 
you feel there is anything else which needs to be done?

> Thank you for your patches! :-)
>   

No problem - thanks for crosstool-ng!

Regards,

Richard Strand


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 0 of 3] Add m4, automake and libtool as companion tools
  2010-01-12 23:31   ` Richard Strand
@ 2010-01-13 23:10     ` Yann E. MORIN
  0 siblings, 0 replies; 7+ messages in thread
From: Yann E. MORIN @ 2010-01-13 23:10 UTC (permalink / raw)
  To: Richard Strand; +Cc: crossgcc

Richard, All,

On Wednesday 13 January 2010 00:31:41 Richard Strand wrote:
> Great, I guess these features could be removed from the TODO now,

Done. Thanks!

Regards.
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-13 23:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-12 22:05 [PATCH 0 of 3] Add m4, automake and libtool as companion tools Richard Strand
2010-01-12 22:05 ` [PATCH 1 of 3] companion_tools/m4: Add m4 tool Richard Strand
2010-01-12 22:05 ` [PATCH 3 of 3] companion_tools/libtool: Add libtool tool Richard Strand
2010-01-12 22:05 ` [PATCH 2 of 3] companion_tools/automake: Add automake tool Richard Strand
2010-01-12 23:01 ` [PATCH 0 of 3] Add m4, automake and libtool as companion tools Yann E. MORIN
2010-01-12 23:31   ` Richard Strand
2010-01-13 23:10     ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).