[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with ./configure
From: |
BOUQUE Anais |
Subject: |
problem with ./configure |
Date: |
Fri, 19 Jul 2013 14:55:53 +0200 |
Hello,
I use autoreconf and configure, and I have a problem using configure : I use
the cl6x compiler, (./configure --host=c6x CC=cl6x) but when configure does
"cl6x -version" or "cl6x-v" or "cl6x -V", there is an error, because the
correct option to have the version of cl6x is "cl6x -version".
I use this Makefile.am:
bin_PROGRAMS=bonjour
bonjour_SOURCES= hello.c
And this configure.ac :
AC_INIT(hello, 0.1, address@hidden)
AM_INIT_AUTOMAKE(foreign)
AM_PROG_CC_C_O
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
The hello.c is a very simple source code which prints "hello world" (this is
just a test).
Here is the part of config.log with the error:
configure:1781: checking for c6x-gcc
configure:1807: result: cl6x
configure:2089: checking for C compiler version
configure:2092: cl6x --version </dev/null >&5
>> WARNING: invalid compiler option --version (ignored)
>> ERROR: no source files, nothing to do
configure:2095: $? = 0
configure:2097: cl6x -v </dev/null >&5
>> WARNING: invalid compiler option -v (ignored)
>> ERROR: no source files, nothing to do
configure:2100: $? = 0
configure:2102: cl6x -V </dev/null >&5
>> WARNING: invalid compiler option -V (ignored)
>> ERROR: no source files, nothing to do
configure:2105: $? = 0
configure:2128: checking for C compiler default output file name
configure:2131: cl6x -O2 -mv6600 -mf4 --abi=eabi -pr --symdebug:none
--visibility=default --linux --gcc
-I/vobs/elin/C66/ATELIER/sdk/c6x-uclinux/libc/usr/include/
-I/vobs/elin/C66/ATELIER/sdk/lib/gcc/c6x-uclinux/4.5.1/include -march=c674x
-L/vobs/elin/C66/ATELIER/sdk/bin/../c6x-uclinux/libc/c674x -DC6X -march=c674x
-mdsbt -msdata=none -frename-registers -fremove-local-statics -O2 conftest.c
>&5
Can I do something to solve that problem?
If you need more precise information, tell me, and I will send it to you.
Thanks for advance,
Best regards,
Anaïs Bouque
- problem with ./configure,
BOUQUE Anais <=