#28 CC & CXX Env variables cause compile error

closed
Code (26)
5
2004-10-18
2003-12-26
Anonymous
No

I use Gentoo Linux that sets standardly the variables
CC="gcc" and CXX="g++".
When running in Realtime 1.06 directory ./configure and
make I get following reproducible error:

-----------------------------------------------------------
cd . && aclocal-1.4
cd . && automake-1.4 --gnu Makefile
cd . && autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure CC=gcc CXX=g++
--no-create --no-recursion
configure: warning: CC=gcc: invalid host type
configure: warning: CXX=g++: invalid host type
configure: error: can only configure for one host and
one target at a time
make: *** [config.status] Fehler 1
-----------------------------------------------------------

My workaround:
Just unset CC and unset CXX, then running ./configure
again and everything works fine.

I am not that familiar with gcc, so maybe this is not
really a bug in Makefile, but I often compile OSS
programs, always having CC and CXX set, without problems.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    My e-mail: Florian.Wilhelm@web.de

    BTW: RealtimeBattle 1.06 released but the page says (upper
    right corner) Lastest Version is 1.05 ;-)

     
  • Nobody/Anonymous

    Logged In: NO

    My e-mail: Florian.Wilhelm@web.de

    BTW: RealtimeBattle 1.06 released but the page says (upper
    right corner) Lastest Version is 1.05 ;-)

     
  • Johannes Nicolai

    Logged In: YES
    user_id=863272

    Please try out version 1.0.6 and tell if it works now. If not, we will fix it in
    the upcoming bugfix release.
    Sorry, that the answer is so late, but we are a new team now.

     
  • Johannes Nicolai

    • status: open --> closed
     
  • Johannes Nicolai

    • assigned_to: nobody --> jonico
     

Log in to post a comment.