Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
4a9b0bc5
Commit
4a9b0bc5
authored
Jan 14, 2005
by
Timothy Stack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cross compiling stuff for the stargates, now includes elvin and
openssl.
parent
32beb94b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
0 deletions
+66
-0
doc/cross-compiling.txt
doc/cross-compiling.txt
+66
-0
No files found.
doc/cross-compiling.txt
View file @
4a9b0bc5
...
...
@@ -14,3 +14,69 @@ RHL90-XSCALE-CROSS disk image should do the trick:
The "--host" argument tells configure what CPU/OS we want the code to
run on and the "--build" argument tells it what CPU/OS we are building
on. Both arguments must be given for this to work.
XXX ... more junk ... clean up later ... can't talk in detail now ...
The magic incantations needed to build the testbed client side for the
stargates. I've put most of the results in:
/proj/testbed/src/
To do it from scratch, you'll need to allocate a node with the
RHL90-XSCALE-CROSS images. I went after libelvin and elvind first,
they needed a quick hack on their configure scripts to ignore some
tests...
libelvin: (not sure if the without/disable flags are all right...)
env PATH=/usr/local/arm/3.4.1/bin:${PATH} \
CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib \
./configure --prefix=/tmp/elvin-install \
--without-x --without-xt --without-gtk --disable-http \
--disable-cluster --disable-mgmt
!! Note the elvin-install dir for the prefix, we need to use this
because that is what elvin-config will report, and we don't want it
talking about the x86 config !!
env PATH=/usr/local/arm/3.4.1/bin:${PATH} gmake
env PATH=/usr/local/arm/3.4.1/bin:${PATH} gmake install
elvind: (not sure if the without/disable flags are all right...)
env PATH=/usr/local/arm/3.4.1/bin:${PATH} \
CC=arm-linux-gcc CXX=arm-linux-g++ RANLIB=arm-linux-ranlib \
./configure --with-elvin=/tmp/elvin-install/ \
--disable-mgmt --disable-cluster
env PATH=/usr/local/arm/3.4.1/bin:${PATH} gmake
env PATH=/usr/local/arm/3.4.1/bin:${PATH} gmake install \
DESTDIR=/tmp/stargate-install
Cross-compiling openssl for arm:
http://dudu.dyn.2-h.org/nist/qt-notes.php#ccSsl
env PATH=/usr/local/arm/3.4.1/bin:${PATH} gmake install_sw \
INSTALL_PREFIX=/tmp/stargate-install
Finally, build the testbed tree:
env ELVIN_CONFIG=/tmp/elvin-install/bin/elvin-config \
LDFLAGS=-L/tmp/stargate-install/usr/local/lib \
CPPFLAGS=-I/tmp/stargate-install/usr/local/include \
../testbed/configure --host=arm-linux --build=i686-linux \
--with-brainstem=/proj/testbed/src/brainstem
!! Add LDFLAGS and CPPFLAGS to pickup openssl !!
gmake client
gmake client-install DESTDIR=/tmp/stargate-install
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment