[ELDK] [PATCH] Make cross-compilation of appWeb work

Thomas Bleher thomas.bleher at philosys.de
Thu Jun 12 12:01:27 CEST 2008


* Wolfgang Denk <wd at denx.de> [2008-06-12 11:43]:
> In message <20080612083418.GA31028 at philosys.de> you wrote:
> > The patch below is needed to correctly cross-compile appWeb. Patch
> > against latest eldk/build.git.
> 
> Hm. Why do you think this patch is needed? Did you really follow the
> instructions for building target packages given in
> http://www.denx.de/wiki/view/DULG/ELDKRebuildingComponents#Section_3.7.2.
> ?

I didn't find a SRPM for appWeb (at least eldk/SRPMS.git doesn't seem to
contain it), so I copied the spec and patch files from eldk/build.git,
the tarball from eldk/tarballs.git, and tried building the package under
ELDK4.1 for ARM using
  $ ${CROSS_COMPILE}rpmbuild -ba appWeb.spec

This failed until I set the appropriate variables for appWeb.

I think that this is the correct approach, as appweb-src-2.2.2/INSTALL
says:
> When cross compiling, you also need to inform configure of the names of your
> compiler, archiver and other utilities and flags. The configure program will
> listen to the settings of the AR, CC, RANLIB, CFLAGS, IFLAGS and LDFLAGS
> environment variables and will pass their values into the build system.

Best regards,
Thomas Bleher

-- 
Thomas Bleher
Philosys Software GmbH
Edisonstraße 6
85716 Unterschleißheim
          
Email: thomas.bleher at philosys.de
http://www.philosys.de
Tel: (+49) 89 321407-57
Fax: (+49) 89 321407-12
        
Geschäftsführer:
 Peter Göb, Horst Lauber, Emil Näpflein, Dr. Detlef Strehmel
Firmensitz: Unterschleißheim
Amtsgericht München HRB 85577


More information about the eldk mailing list