[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

autoconf and setting prefix

Hi, I don't know if this has been asked before or not, but I couldn't
find anything using google.

I'm trying to build a gcc 3.3.1 cross compiler package for woody, so I
use the following line in debian/rules
(cd build && ../configure --target=arm-linux --enable-target-optspace
--enable-languages=c,c++,java --disable-multilib --disable-threads
--with-gnu-ld --disable-nls --disable-shared --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info )

from debian/rules install line
(cd build && $(MAKE) install prefix=$(CURDIR)/debian/gcc4arm/usr)

When I get to this install line, it tries to install includes to
/usr/arm-linux/include, instead of

Is this a problem with autoconf/automake?  Has anyone run into this

I've already made cross compiling packages for binutils, kernel headers,
and a C library, which all use /usr/arm-linux as the base for arm
libraries & headers, and I'm currently trying to get the c++ and java
cross compilers built.

     David Meggy

Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2

eMail: dmeggy@techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445

Reply to: