[Botan-devel] Building for MIPS

Meenal Verma mailtomeenal at rediffmail.com
Mon Oct 22 23:19:31 EDT 2007


This is the Makefile that I am using, I made a few more changes to have the archiver from the cross compiler and some of the linking flags there################################################### Compiler Options                               ###################################################CXX = /usr/local/bin/mipseb-linux-g++ -I. -I/usr/local/mipseb-linux/include/c++/3.2 -I/usr/local/mipseb-linux/include/c++/3.2/backward -I/usr/local/mipseb-linux/include/c++/3.2/mips-linux-gnu -static -Wa,-non_shared -mips2 -mno-abicalls -mabi=32 -mtune=r6000 -msplit-addressesLIB_FLAGS     = $(LIB_OPT) $(MACH_OPT) $(LANG_FLAGS) $(WARN_FLAGS) $(SO_OBJ_FLAGS)#CXX           = /usr/local/bin/mipseb-linux-g++ -Wa,-non_shared -mabi=32LIB_OPT       = -O2 -finline-functions -Wl,--script=/usr/local/mipseb-linux/lib/ldscripts/mint.xCHECK_OPT     = -O2MACH_OPT      = -mips2 -mtune=r6000 -msplit-addresses -Wa,-non_sharedLANG_FLAGS    = -D_REENTRANT -ansi -Wno-long-long -fpermissiveWARN_FLAGS    = -W -WallSO_OBJ_FLAGS  = -fPICSO_LINK_CMD   = $(CXX) -shared -fPIC -Wl,-soname,$(SONAME)LINK_TO       = -lm -lpthread -lrt################################################### Version Numbers                                ###################################################MAJOR         = 1MINOR         = 7PATCH         = 2VERSION       = $(MAJOR).$(MINOR).$(PATCH)################################################### Installation Settings                          ###################################################INSTALLROOT   = /usr/localBINDIR        = $(INSTALLROOT)/binLIBDIR        = $(INSTALLROOT)/libHEADERDIR     = $(INSTALLROOT)/include/botanDOCDIR        = $(INSTALLROOT)/share/doc/Botan-$(VERSION)OWNER         = rootGROUP         = rootCONFIG_SCRIPT = botan-config################################################### Aliases for Common Programs                    ###################################################AR               = /usr/local/bin/mipseb-linux-arCD               = @cdECHO             = @echoINSTALL_CMD_EXEC = install -o $(OWNER) -g $(GROUP) -m 755INSTALL_CMD_DATA = install -o $(OWNER) -g $(GROUP) -m 644LN               = ln -fsRest of the makefile is not changed from what was generated by default
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20071023/7a6823ee/attachment.html>


More information about the botan-devel mailing list