Message-ID: <000201c36384$c354e6e0$021ca8c0@helm> From: "2boxers" <2boxers AT comcast DOT net> To: References: <000f01c36322$53e9b950$021ca8c0 AT helm> <3F3D3D2F DOT DE11DEDA AT phekda DOT freeserve DOT co DOT uk> Subject: Re: patching vanilla gcc-3.3 prior to building djcrx Date: Fri, 15 Aug 2003 19:14:22 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Reply-To: djgpp-workers AT delorie DOT com Thanks for getting back to me so quickly. I was able to apply the patches using automake 1.5, but I do believe I found a bug with the patched install target for libstdc++. The libstdc++ libraries are being dumped into $prefix/include. The correct location would be $prefix/include/c++/3.3 Manual copying of the directories and files from $prefix/include to $prefix/include/c++/3.3 seems to be an effective workaround, but I cannot be sure other problems are present, although I don't think there are. It does seem to work as I am able to build some programs that use quite a bit of OOP code. Please accept this as a bug report or please tell me what I am doing wrong so I can update the Linux x86 Host Cross Compiler HOWTO if that need be. Perhaps it is possible that a new step is needed that wasn't needed before. Cheers everybody, Charles ----- Original Message ----- From: "Richard Dawe" To: ; <2boxers AT comcast DOT net> Sent: Friday, August 15, 2003 4:06 PM Subject: Re: patching vanilla gcc-3.3 prior to building djcrx > Hello. > > 2boxers wrote: > > > > Greetings workers, > > > > I recently successfully built a linux to djgpp cross compiler using the > > following sources: > > > > djcrx204.zip > > gcc33s.zip > > gnu make 3.79.1 > > binutils 2.14 > > bash 2.05b > > autoconf 2-13 > > automake 1.4-p6 > > unzip 5.50 > [snip] > > Running aclocal in > > /root/updates/djgpp/packages/cross/gnu/gcc-3.3/libstdc++-v3... > > Running automake in > > /root/updates/djgpp/packages/cross/gnu/gcc-3.3/libstdc++-v3... > > automake: src/Makefile.am: warning: automake does not support > > libstdcxx_la_LDFLAGS being defined conditionally > > automake: src/Makefile.am: warning: automake does not support > > libstdc___la_LDFLAGS being defined conditionally > > automake failed in directory > > /root/updates/djgpp/packages/cross/gnu/gcc-3.3/libstdc++-v3 > > > > This looks like to me an automake issue possibly, but I am not certain. > > Which version of automake was used to apply the patches used in the distro > > source: gcc33s.zip? > [snip] > > Looking through the automake ChangeLogs, I think you might need automake 1.5 > or later. What were the Makefiles originally created with in gcc33s.zip? They > should contain a line something like this: > > # Makefile.in generated by automake 1.7a from Makefile.am. > > HTH, bye, Rich =] > > -- > Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]