[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling GNU Common C++ for ARM CPU & Linux
From: |
Conrad T. Pino |
Subject: |
Compiling GNU Common C++ for ARM CPU & Linux |
Date: |
Mon, 29 Aug 2005 21:25:23 -0700 |
* Install an ARM & Linux cross compile tool set. Mine is:
debzfp:~$ ls /opt/cross/bin
arm-linux-addr2line arm-linux-gcc arm-linux-objdump
arm-linux-ar arm-linux-gcc-3.3.2 arm-linux-ranlib
arm-linux-as arm-linux-gccbug arm-linux-readelf
arm-linux-c++ arm-linux-gcov arm-linux-size
arm-linux-c++filt arm-linux-ld arm-linux-strings
arm-linux-cpp arm-linux-nm arm-linux-strip
arm-linux-g++ arm-linux-objcopy
debzfp:~$
* The cross compile tool set bin directory must be in PATH:
export PATH=/opt/cross/bin:/usr/local/bin:/usr/bin:/bin
* Run GNU Common C++ configure script with --host option
value that matches cross compile tool set program prefix:
./configure --host=arm-linux
* Make the library:
make
* Check the output products:
debzfp:~/projects/commoncpp2-arm$ ls src/.libs
assoc.o libccext2-1.3.so.1 mime.o socketport.o
buffer.o libccext2-1.3.so.1.0.13 missing.o strchar.o
cmdoptns.o libccext2.a mutex.o string.o
date.o libccext2.la nat.o threadkey.o
digest.o libccext2.lai network.o thread.o
dir.o libccext2.so numbers.o timer.o
dso.o libccgnu2-1.3.so.1 peer.o tokenizer.o
engine.o libccgnu2-1.3.so.1.0.13 persist.o unix.o
event.o libccgnu2.a process.o url.o
exception.o libccgnu2.la runlist.o urlstring.o
file.o libccgnu2.lai semaphore.o xml.o
friends.o libccgnu2.so serial.o zstream.o
in6addr.o lockfile.o simplesocket.o
inaddr.o md5.o slog.o
keydata.o mempager.o socket.o
debzfp:~/projects/commoncpp2-arm$
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compiling GNU Common C++ for ARM CPU & Linux,
Conrad T. Pino <=