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

Re: Sparc buildd a cross-compiler?



On Sat, Dec 22, 2001 at 05:19:27PM +0100, Mikael Hedin wrote:
> 
> Hi,
> 
> I noticed gsmlib has failed on sparc for a long time.  The last log,
> http://buildd.debian.org/fetch.php?&pkg=gsmlib&ver=1.7-1&arch=sparc&stamp=1006071760&file=log&as=raw, 
> says in the end that g++-3.0 is a cross compiler:
> 
> checking whether the C++ compiler (g++-3.0 -Wall -D_REENTRANT -O2 ) works... yes
> checking whether the C++ compiler (g++-3.0 -Wall -D_REENTRANT -O2 ) is a cross-compiler... yes
> checking whether we are using GNU C++... yes
> checking whether g++-3.0 accepts -g... yes
> configure: error: can not run test program while cross compiling
> make: *** [configure-stamp] Error 1

Your package better use gcc, not gcc-3.0. Using anything other than the
default supported compiler gets you a bug report.

Other than that, check the config.log output to see why it failed.

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: