![]() |
HowTo.NativeDevelopmentSetup HistoryHide minor edits - Show changes to markup October 29, 2011, at 02:44 AM
by -- success on 10/28/2011
Added lines 3-7:
a success on 10/28/2011 http://www.nslu2-linux.org/wiki/HowTo/TransmissionCompileBuild January 19, 2005, at 02:48 PM
by --
Added lines 1-2:
Note that you can now use the instructions at NativelyCompileUnslungPackages to natively packages directly from the Unslung CVS repository. January 16, 2005, at 07:09 AM
by --
Changed line 47 from:
to:
January 16, 2005, at 06:03 AM
by --
Changed line 37 from:
to:
January 16, 2005, at 06:00 AM
by --
Changed line 3 from:
to:
January 08, 2005, at 08:31 PM
by --
Changed line 6 from:
to:
January 08, 2005, at 07:38 PM
by --
Changed line 4 from:
to:
January 08, 2005, at 07:31 PM
by --
Changed line 6 from:
@@This is a hack not a real solution. \\ to:
Changed line 8 from:
The real solution is to modify unslung/Makefile to support both platform better without following hacks.@@ to:
Changed line 12 from:
to:
January 08, 2005, at 07:11 PM
by --
Changed line 45 from:
to:
January 08, 2005, at 07:10 PM
by --
Changed lines 37-38 from:
to:
Changed lines 45-46 from:
to:
Deleted line 47:
January 08, 2005, at 07:06 PM
by --
Added line 4:
Added line 7:
January 08, 2005, at 07:02 PM
by --
Changed line 3 from:
to:
January 08, 2005, at 07:02 PM
by --
Changed lines 1-2 from:
@@This page is my (TJ Yang) learning note about compiling packages natively on nslu2.@@ to:
January 08, 2005, at 07:01 PM
by --
Changed lines 1-2 from:
to:
@@This page is my (TJ Yang) learning note about compiling packages natively on nslu2.@@ January 08, 2005, at 06:18 PM
by --
Changed line 44 from:
to:
January 08, 2005, at 06:17 PM
by --
Changed line 44 from:
to:
January 05, 2005, at 05:15 PM
by --
Changed line 3 from:
to:
Changed line 6 from:
The real solution is to modifiy unslung/Makefile to support both platform better without following hacks.@@ to:
The real solution is to modify unslung/Makefile to support both platform better without following hacks.@@ Changed lines 8-14 from:
Bill of materials and procedures : to:
Bill of materials and procedures:
Changed lines 16-18 from:
5.1 Disable the crosstool build triggered by making other package. to:
Changed lines 18-19 from:
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure to:
Changed lines 20-25 from:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\ to:
Changed lines 27-28 from:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you to:
Changed line 33 from:
TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\ to:
Changed lines 35-36 from:
5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but to:
Changed lines 37-39 from:
5.4 chmod go+w /dev/null to fix a wrong mode from unslung firmware(both 3.16 and 3.17 beata) to:
Changed lines 42-45 from:
cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/strip /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-strip
cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/ar /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-ar
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\ to:
Deleted line 46:
January 05, 2005, at 01:20 PM
by --
Added lines 33-39:
5.4 chmod go+w /dev/null to fix a wrong mode from unslung firmware(both 3.16 and 3.17 beata) January 05, 2005, at 11:45 AM
by --
Changed lines 5-6 from:
@@This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks.@@ to:
Changed lines 16-18 from:
5.1 Disable the crosstool build triggered by making other package.\\ to:
5.1 Disable the crosstool build triggered by making other package. Changed lines 20-21 from:
Example: you need do adjust the real absolute path to your own setting before running to:
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure Changed lines 23-24 from:
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure to:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\ Added lines 25-26:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you Changed line 28 from:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\ to:
TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\ Changed lines 30-36 from:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you 5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but to:
5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but January 05, 2005, at 11:41 AM
by --
Changed line 3 from:
to:
Changed line 6 from:
to support both platform better without following hacks. @@ to:
to support both platform better without following hacks.@@ Changed lines 8-16 from:
@@Bill of materials and procedures : = 1. A nslu2 box with firmware replaced with unslung 3.16 firmware. 2. A good netwok connection to Internet. 3. Check out the package sources from nslu2 cvs server. 4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain 5. Modify unslung/Makefile for nslu2 environment. = 5.1 Disable the crosstool build triggered by making other package. to:
Bill of materials and procedures : Changed lines 16-17 from:
Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool. to:
5.1 Disable the crosstool build triggered by making other package.\\ Changed lines 18-19 from:
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built to:
Example: you need do adjust the real absolute path to your own setting before running Added lines 21-22:
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure Deleted line 23:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. Changed line 25 from:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed. to:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\ Changed lines 27-28 from:
TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)- to:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you Changed line 30 from:
5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. to:
TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\ Changed lines 32-35 from:
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.@@ to:
5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but 6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\ January 05, 2005, at 11:39 AM
by --
Changed line 9 from:
to:
= Changed line 15 from:
to:
= January 05, 2005, at 11:38 AM
by --
Changed line 8 from:
=Bill of materials and procedures : to:
@@Bill of materials and procedures : Changed line 33 from:
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.= to:
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.@@ January 05, 2005, at 11:37 AM
by --
Changed lines 8-9 from:
= Bill of materials and procedures : to:
=Bill of materials and procedures : Changed lines 33-34 from:
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation. to:
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.= Deleted line 35:
== January 05, 2005, at 11:36 AM
by --
Changed lines 8-9 from:
== Bill of materials and procedures : \\ to:
= Bill of materials and procedures : Changed lines 11-23 from:
1. A nslu2 box with firmware replaced with unslung 3.16 firmware. to:
1. A nslu2 box with firmware replaced with unslung 3.16 firmware. 2. A good netwok connection to Internet. 3. Check out the package sources from nslu2 cvs server. 4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain 5. Modify unslung/Makefile for nslu2 environment. Added line 17:
5.1 Disable the crosstool build triggered by making other package. Changed lines 19-20 from:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\ to:
Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool. Changed lines 22-23 from:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed.\\ to:
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built Deleted line 24:
TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\ Changed line 26 from:
5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\ to:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. Changed lines 28-34 from:
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\ to:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed. TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)- 5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. 6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation. January 05, 2005, at 11:34 AM
by --
Added line 8:
== Added line 36:
== January 05, 2005, at 11:34 AM
by --
Changed line 1 from:
to:
Changed lines 3-7 from:
to:
Added lines 5-6:
@@This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks. @@ January 05, 2005, at 11:32 AM
by --
Changed lines 1-2 from:
This page is a learning note about compiling packages natively on nslu2. to:
Changed lines 3-4 from:
This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to:
January 05, 2005, at 11:31 AM
by --
Changed line 1 from:
This page is a learning note about compile packages natively on nslu2.\\ to:
This page is a learning note about compiling packages natively on nslu2.\\ January 05, 2005, at 11:29 AM
by --
Changed lines 1-2 from:
This is an in consturtion page to document my note on getting nslu2 to to:
This page is a learning note about compile packages natively on nslu2. Changed lines 6-12 from:
It will be good if we can do "make zlib" sucessfuully on either to:
\\ Changed lines 34-35 from:
6. Do a test make by "make zlib" and you should not see crosstool compilation. to:
6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\ Added line 37:
T.J. Yang (tj_yang@hotmail.com) January 04, 2005, at 04:19 AM
by --
Changed line 19 from:
4. Install the native gcc compiler for nslu2.\\ to:
4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain \\ January 04, 2005, at 01:39 AM
by --
Changed line 31 from:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\ to:
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\ January 04, 2005, at 01:38 AM
by --
Changed lines 1-4 from:
This is an in consturtion page to document my note on getting nslu2 to compile packages source mainly for Linux cross-compile. This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks. It will be good if we can do "make zlib" on either Intel Linux, nslu2 or Mac OS X and it all works on these development platform. to:
This is an in consturtion page to document my note on getting nslu2 to Changed lines 6-11 from:
In this section we will try to describe the steps to setup your nslu2 to do development work . to:
It will be good if we can do "make zlib" sucessfuully on either Added line 15:
January 04, 2005, at 01:34 AM
by --
Changed lines 15-16 from:
Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool. \\ to:
Example: you need do adjust the real absolute path to your own setting before running January 03, 2005, at 04:19 PM
by --
Changed line 27 from:
5.3 "sh" in make/*.mk assuming "sh=bash". for now I ln sh to bash. \\ to:
5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\ January 03, 2005, at 04:16 PM
by --
Added lines 27-28:
5.3 "sh" in make/*.mk assuming "sh=bash". for now I ln sh to bash. January 03, 2005, at 02:27 PM
by --
Changed line 10 from:
4. Install the gcc compiler for nslu2.\\ to:
4. Install the native gcc compiler for nslu2.\\ January 03, 2005, at 02:27 PM
by --
Added line 12:
\\ Deleted line 13:
Changed line 27 from:
6. Do a test make by "make zlib" and you should not see crosstool will be invoded to do its compilation.\\ to:
6. Do a test make by "make zlib" and you should not see crosstool compilation.\\ January 03, 2005, at 02:24 PM
by --
Changed lines 13-15 from:
you need do adjust the real absolute path to your own setting. \\ to:
Deleted line 16:
Example: \\ Changed lines 23-24 from:
Example:\\ to:
Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed. January 03, 2005, at 02:17 PM
by --
Changed line 6 from:
@@Bill of materials and procedures : \\ to:
Bill of materials and procedures : \\ Added line 21:
Changed line 25 from:
6. Do a test make by "make zlib" and you should not see crosstool will be invoded to do its compilation.@@ to:
6. Do a test make by "make zlib" and you should not see crosstool will be invoded to do its compilation.\\ January 03, 2005, at 02:17 PM
by --
Changed line 6 from:
@@ Bill of materials and procedures : \\ to:
@@Bill of materials and procedures : \\ January 03, 2005, at 02:15 PM
by --
Added lines 1-2:
This is an in consturtion page to document my note on getting nslu2 to compile packages source mainly for Linux cross-compile. This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks. It will be good if we can do "make zlib" on either Intel Linux, nslu2 or Mac OS X and it all works on these development platform. Changed line 8 from:
2. A netwok connection to Internet. \\ to:
2. A good netwok connection to Internet. \\ Added lines 13-19:
you need do adjust the real absolute path to your own setting. Changed lines 21-25 from:
6. Do a test make by "make zlib". @@ to:
Example: January 03, 2005, at 12:07 PM
by --
Changed lines 1-15 from:
In this section we will try to describe the steps to setup your nslu2 to do development work . to:
In this section we will try to describe the steps to setup your nslu2 to do development work .
January 03, 2005, at 11:58 AM
by --
Changed line 1 from:
Describe NativeDevelopmentSetup here. to:
In this section we will try to describe the steps to setup your nslu2 to do development work . |