[Botan-devel] Building for MIPS

Meenal Verma mailtomeenal at rediffmail.com
Mon Oct 22 23:10:14 EDT 2007

(Sending in plaintext)Hi,These are the Makefile changes that I madeCXX =
/usr/local/bin/mipseb-linux-g++ -I.
-I/usr/local/mipseb-linux/include/c++/3.2/mips-linux-gnu -static
-Wa,-non_shared -mips2 -mno-abicalls -mabi=32 -mtune=r6000
-Wl,--script=/usr/local/mipseb-linux/lib/ldscripts/mint.x -mips2
-Wa,-non_shared#CXX           = /usr/local/bin/mipseb-linux-g++ -Wa,-non_shared -mabi=32#LIB_OPT       = -O2 -finline-functions#CHECK_OPT     = -O2#MACH_OPT      = -mips2 -mtune=r8000 -msplit-addresses#LANG_FLAGS    = -D_REENTRANT -ansi -Wno-long-long -fpermissive#WARN_FLAGS    = -W -WallSO_OBJ_FLAGS  = -fPICSO_LINK_CMD   = $(CXX) -shared -fPIC -Wl,-soname,$(SONAME)LINK_TO       = -lm -lpthread -lrtIt gives a number of assertions usr/local/lib/gcc-lib/mipseb-linux/3.2.1/../../../../mipseb-linux/bin/ld:
BFD 2.13 assertion fail ../../binutils-2.13/bfd/elfxx-mips.c:2875But created libbotan-1.7.2.so  libbotan.a  libbotan.soThe
test.cpp program is here
http://botan.randombit.net/examples/dsa_sign.php, I just changes the
includes to reflect the correct path as I had not done a make install. Is there some problem with the way the library is created?On doing a make install, it does so without any errors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20071023/3ca1095c/attachment.html>

More information about the botan-devel mailing list