Building MTD utils w/ arm-linux- cross

Thomas Gleixner tglx at linutronix.de
Fri May 2 16:29:58 EDT 2003


On Friday 02 May 2003 21:05, Michael Moedt wrote:
> Hi.

eraseall does not need zlib. fixed in CVS

> Well, I installed zlib-1.1.4 into
> /usr/local/arm/2.95.3 , but I needed to add -I and -L
> flags to the Makefile in order for it to find it.  It
> seems to work, but I didn't find this anywhere when I
> searched the mailing list.  Is this the standard
> procedure, or am I doing something wrong?

header in /usr/local/arm/2.95.3/arm-linux/include
lib in /usr/local/arm/2.95.3/arm-linux/lib

Then you don't need -L.

> Anyways, I also wanted to let someone with CVS access
> know that there's a typo in the Makefile.  In
> eraseall's build rule, it uses $(LDLAGS) instead of
> $(LDFLAGS).  I guess no one needs to add the '-L'
> LDFLAG other than me?
Fixed, thanks


-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de




More information about the linux-mtd mailing list