X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rob Kramer Subject: Re: cross compilation Newsgroups: comp.os.msdos.djgpp References: <1Ilrb.583305$Id DOT 84948 AT news DOT easynews DOT com> Lines: 35 User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <2pXrb.693084$Id.100909@news.easynews.com> X-Complaints-To: abuse AT easynews DOT com Organization: EasyNews, UseNet made Easy! X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Tue, 11 Nov 2003 02:00:30 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Armstrong wrote: > when i tried using Autoconf 2.57 in the directory > $packages/gnu/gcc-3.2/libstdc++-v3 , > > it says: > > configure.in:32: error: defn: undefined macro: _AC_PROG_CC_GNU > aclocal.m4:221: GLIBCPP_CONFIGURE is expanded from... > configure.in:32: the top level > autom4te: /usr/bin/m4 failed with exit status: 1 If you insist on doing it this way, prepare to spend a lot of time figuring out autoconf errors. The gcc autoconfigure setup is very complicated.. > so if i don`t use the *s2.zip patch, You need the patch - just get the prepatched sources called gcc*s.zip. > `make` in the directory: > $packages/gnu/gcc-3.2-obj/i586-pc-msdosdjgpp/libstdc++-v3 > > says: > cd . && /bin/sh ./config.status config.h > Usage: ./config.status [--recheck] [--version] [--help] > make: *** [stamp-h1] Error 1 Hmmm, haven't seen that one before :) I guess you ran configure in the root since you have Makefiles. I don't really know if a make in the libstdc++ dir is OK like that.. Same error if you make from root? Cheers, Rob