Error compiling GCC 3.4.6 in Ubuntu 14.04 -



Error compiling GCC 3.4.6 in Ubuntu 14.04 -

i trying compile gcc 3.4.6 in ubuntu 14.04 x64. has newer version of gcc-4.8.2.

i ran ./configure --prefix=/usr/local/gcc-3.4 , make.

i ended in several errors find solutions on searching.

error 1

error 2

finally ended in error, couldn't find solution.

../../gcc/unwind-dw2.c: in function `uw_frame_state_for': ../../gcc/unwind-dw2.c:1031: error: field `info' has incomplete type make[2]: *** [libgcc/32/unwind-dw2.o] error 1 make[2]: leaving directory `/home/hp-11/documents/gcc-3.4.6/build/gcc' make[1]: *** [stmp-multilib] error 2 make[1]: leaving directory `/home/hp-11/documents/gcc-3.4.6/build/gcc' make: *** [all-gcc] error 2

does know how prepare it? please allow me know if more details needed.

this old good-known problem, regarding siginfo , siginfo_t

all need @ gcc sources places like

struct rt_sigframe { \ int sig; \ struct siginfo *pinfo; \ void *puc; \ struct siginfo info; \ struct ucontext uc; \ } *rt_ = (context)->cfa; \ sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \

this 1 within gcc/config/i386/linux.h arch may differ

and manually replace struct siginfo * siginfo_t * , struct siginfo siginfo_t, making newest posix compatible. in every rt_sigframe declaration there mutual 2 such places, including info field of problem.

ubuntu gcc gcc3

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -