Still can't build C++ for xscale-elf

Amit Choudhary amit2030@yahoo.com
Sat Sep 30 15:01:00 GMT 2006


Hi Jack,

You may be requiring option --enable-languages=c,c++ instead of
--enable-language=c,c++. Notice the 's' (in the end) in
--enable-languages. Hope this helps.

Regards,
Amit

--- Jack Twilley <jmt@twilley.org> wrote:

> This is a continuation of the conversation with Kai Ruottu
> which was 
> cc'ed here.
> 
> I have downloaded gcc-4.1.1.tar.bz2, extracted it, and used
> the 
> following command for configuration:
> 
> ./configure --with-newlib --disable-libssp --disable-shared 
> --target=xscale-elf --enable-language=c,c++
> 
> It fails while compiling something which looks related to
> ObjectiveC 
> (why would it do that when I asked for C and C++?) and here's
> the output:
> 
> /home/jmt/gcc-4.1.1/host-i386-unknown-freebsd6.2/gcc/xgcc 
> -B/home/jmt/gcc-4.1.1/host-i386-unknown-freebsd6.2/gcc/ 
> -B/usr/local/xscale-elf/bin/ -B/usr/local/xscale-elf/lib/
> -isystem 
> /usr/local/xscale-elf/include -isystem
> /usr/local/xscale-elf/sys-include 
> -c -I. -I/home/jmt/gcc-4.1.1/libobjc -O2 -g -O2 -W -Wall
> -Wwrite-strings 
> -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS
> -fno-strict-aliasing 
> -fexceptions -I/home/jmt/gcc-4.1.1/libobjc/objc 
> -I/home/jmt/gcc-4.1.1/libobjc/../gcc 
> -I/home/jmt/gcc-4.1.1/libobjc/../gcc/config -I../.././gcc 
> -I/home/jmt/gcc-4.1.1/libobjc/../include 
> /home/jmt/gcc-4.1.1/libobjc/archive.c -o archive.o
> /home/jmt/gcc-4.1.1/libobjc/archive.c:27:21: error: tconfig.h:
> No such 
> file or directory
> gmake[2]: *** [archive.lo] Error 1
> gmake[2]: Leaving directory
> `/home/jmt/gcc-4.1.1/xscale-elf/libobjc'
> gmake[1]: *** [all-target-libobjc] Error 2
> gmake[1]: Leaving directory `/home/jmt/gcc-4.1.1'
> gmake: *** [all] Error 2
> 
> This is on a FreeBSD 6.2-PRERELEASE system.  If more
> information is 
> required, please do not hesitate to ask and I will supply it.
> 
> Jack.
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Gcc-help mailing list