[uClibc]C++ compiler for MIPS

VAN DUC UY vducuy at yahoo.com
Tue Aug 6 16:52:41 UTC 2002


Hello all,

I'm porting mysql-3.23.49 for MIPS. but the toolchain of MIPS does not support mips-g++. so, the configure script can not continue to check.

Following is the output of configure:

checking for gcc... mips-gcc
 checking whether the C compiler (mips-gcc -Os -static
 -mfp32 -mhard-float   -Wl,-N
 -Wl,-T,/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/brecis/M4.ld
 -Wl,-Bstatic -Wl,-q -Wl,--no-undefined -Wl,--warn-once
 -Wl,--warn-common -Wl,--warn-constructors
 -Wl,--warn-multiple-gp
 -L/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/uclibc/lib/
 -nostdlib
 -Wl,/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/uclibc/lib/crt0.o)
 works... yes
 checking whether the C compiler (mips-gcc -Os -static
 -mfp32 -mhard-float   -Wl,-N
 -Wl,-T,/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/brecis/M4.ld
 -Wl,-Bstatic -Wl,-q -Wl,--no-undefined -Wl,--warn-once
 -Wl,--warn-common -Wl,--warn-constructors
 -Wl,--warn-multiple-gp
 -L/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/uclibc/lib/
 -nostdlib
 -Wl,/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/uclibc/lib/crt0.o)
 is a cross-compiler... yes
 checking whether we are using GNU C... yes
 checking whether mips-gcc accepts -g... yes
 checking for c++... c++
 checking whether the C++ compiler (c++    -Wl,-N
 -Wl,-T,/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/brecis/M4.ld
 -Wl,-Bstatic -Wl,-q -Wl,--no-undefined -Wl,--warn-once
 -Wl,--warn-common -Wl,--warn-constructors
 -Wl,--warn-multiple-gp
 -L/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/uclibc/lib/
 -nostdlib
 -Wl,/kernel/mips/TAG_RELEASE_1_1_CAND_1/uClinux/uclibc/lib/crt0.o)
 works... no
 configure: error: installation or configuration
 problem: C++ compiler cannot create executables.
 [uclinux at uyvd mysql-3.23.49]$

c++ is not supported for mips. but it was required for some application.
How can i port an application which require c++ compiler on MIPS  (brecis)?

Does anybody try it before ? Does anybody suggest me an idea ?

Thanks in advance,

Duc Uy

 




---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20020806/b2a3a974/attachment-0001.htm 


More information about the uClibc mailing list