[Axl] axl under devboard; docs

Mark Richards mark.richards at massmicro.com
Fri Aug 10 16:11:24 CEST 2007


Francis,

Thanks for pointing me to the docs.  It was stupid of me not to look there!

> Nice Mark. I've been checking the size you've provided (388K) and I
> think you can reduce it even more. In my Linux box I can reduce it from
> 388K to 100K. See [1] (excuse if you already did Mark).
> 
> 
> [1] http://www.aspl.es/axl/html/axl_manual.html#reducing_foot_print
> 

Loaded up the new release.

With this configure below, I get
	85868 Aug 10 10:05 libaxl.so.0.0.0

env CC="gcc-cris -Wall -mlinux -isystem 
/usr/local/cris/cris-axis-linux-gnu" CPP="gcc-cris -Wall -mlinux -E 
-isystem /usr/local/cris/cris-axis-linux-gnu" CXX="g++-cris -Wall 
-mlinux -xc++ -isystem /usr/local/cris/cris-axis-linux-gnu" LD="ld-cris 
-mcrislinux" AR="ar-cris" RANLIB="ranlib-cris" NM="nm-cris" 
STRIP="strip-cris" ./configure --host=cris-axis-linux-gnu --without-x 
--disable-axl-log --disable-axl-doc --disable-static --enable-shared 
--disable-axl-test 
--prefix=/development/AEM/devboard-R2_10/target/cris-axis-linux-gnu/

However install-strip does not do the job for me.  I have to modify the 
Makefiles anyway so that things work properly in my devtree, so maybe I 
can fix it.  For now I do:

	cris-strip src/.libs/libaxl.so.0.0.0

Likely this will be triggered as a part of the normal install process 
(make install is called by the master Makefile for my devtree anyway).

The major modification to Makefile is to put this at the top of each one:

	AXIS_USABLE_LIBS = UCLIBC GLIBC
	include $(AXIS_TOP_DIR)/tools/build/Rules.axis

otherwise the build process will fail when we reach the axl directory.

..

Now we shall see if what I just built will work!


Thanks.  Bye!

/m



More information about the Axl mailing list