Alexander Kaps | 10 Jan 2002 16:33
Picon
Favicon

cross-compiler

Hello gcc,

I am a linux developer and I would like to configure gcc as a cross compiler 
from i686 to mips-irix-6 since I don“t own an SGI. Every try to do this has 
failed. Is it possible to build a cross compiler for this case? Are there 
binaries?

Best regards,

A. Kaps

Kaoru Fukui | 17 Jan 2002 08:02
Picon

problem with libstdc++

Hi!

I couldn't compile gcc-3.2.1 cvs with this problem on glibc-2.2.93.

Then I found some fixes around the source by ben in Changelog.

Any help
Kaoru
----- problem ----------------
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/gcc/xgcc -shared-libgcc
-B/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/gcc/ -nostdinc++
-L/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/src
-L/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/usr/powerpc-unknown-linux-gnu/bin/ -B/usr/powerpc-unknown-linux-gnu/lib/ -isystem
/usr/powerpc-unknown-linux-gnu/include -nostdinc++
-I/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu
-I/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/include
-I../../../../libstdc++-v3/libsupc++ -I../../../../libstdc++-v3/libmath -O2 -fsigned-char
-D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once -ffunction-s
 e!
ctions -fdata-sections -g -c codecvt_members.cc  -fPIC -DPIC -o .libs/codecvt_members.o
codecvt_members.cc: In member function `virtual std::codecvt_base::result 
   std::codecvt<wchar_t, char, mbstate_t>::do_out(mbstate_t&, const wchar_t*, 
   const wchar_t*, const wchar_t*&, char*, char*, char*&) const':
codecvt_members.cc:53: `_M_c_locale_codecvt' undeclared (first use this 
   function)
codecvt_members.cc:53: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make[4]: *** [codecvt_members.lo] Error 1
(Continue reading)

Kaoru Fukui | 5 Jan 2002 16:04
Picon

Re: gcc-3.2 with glibc-2.3 compile problem

On  4 Oct, Quinn Harris wrote:
> I was compiling gcc-3.2 with glibc-2.3 installed and encountered a
> compile error.  I made the changes as shown in the following patch to
> fix the problem.  Is this patch sane?  I have no knowledge of glibc, I
> just figured it out by comparing the /usr/include/ctype.h file from
> glibc-2.2.5 with glibc-2.3.  What would be the proper way to fix this
> problem?
> 

Already fixed by jakub.
Try gcc-3.2-branch

Kaoru


Gmane