
spielc at gmail
Jun 15, 2009, 2:50 AM
Post #6 of 13
(3114 views)
Permalink
|
|
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
[In reply to]
|
|
Hi Stephen! I guess you installed a cross-compiler using crossdev (thus you should be able to call your cross-compiler using armv5tel-softfloat-linux-gnueabi-gcc). Now if you install and setup crossdev-wrappers (emerge crossdev-wrappers) and run emerge-wrapper --init, you'll get a directory under /usr and a wrapper for emerge (emerge-armv5tel-softfloat-linux-gnueabi) which you can use to "cross-emerge" stuff. On 15.06.2009 11:35, Stephen Feyrer wrote: > Hi again > > Bah Hum-Bug! make failed. I guess some of those tests are important. > > I'm interested in crossdev wrappers but how can I make it apply to my > current problem? > > -- > Boldly going forwards... > > Stephen. > > Stephen Feyrer wrote: > >> Hi Sven. >> > > >> I had get some other cached values: >> >> i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no >> i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes >> i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes >> i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes >> lib_cv_va_val_copy=yes ./configure --prefix=/opt >> --host=armv5tel-softfloat-linux-gnueabi >> > > >> :-) I'm now running make. >> > > >> Sven Rebhan wrote: >> >>> 2009/6/15 Stephen Feyrer<steve [at] toth>: >>> > > >>> Hello Stephen, >>> >>>> checking whether we can use epoll... configure: error: in >>>> `/root/dovecot/dovecot-1-2-6c0fb914e03e': >>>> configure: error: cannot run test program while cross compiling >>>> See `config.log' for more details. >>>> > > >>> I would strongly suggest to use crossdev-wrappers for this kind of >>> jobs, as it automatically cares about this kind of problems. >>> > > >>> However, you might want to fix this problem yourself, so here we go. When >>> cross-compiling, target programs can not be executed as they are >>> probably compiled for an incompatible architecture (as the error >>> states). >>> > > >>> Hence, you have to provide the result of the program run >>> yourself using autoconf-cache values. Try to do the following: >>> > > >>> i_cv_epoll_works=yes ./configure --prefix=/opt >>> --host=armv5tel-softfloat-linux-gnueabi >>> > > >>> Please check if epoll really works in your setup and change the value >>> to "no" if it doesn't. >>> > > >>> Have fun! >>> > > >>> Sven >>> > > >> Thanks. >> > > >> -- >> Stephen >> > > >
|