From: Anders Bo Rasmussen Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP under linux Lines: 39 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Newsreader: KNode 0.1.12 Message-ID: Date: Fri, 28 Jan 2000 22:49:36 +0100 NNTP-Posting-Host: 212.54.74.55 X-Complaints-To: news-abuse AT wol DOT dk X-Trace: news020.image.dk 949096439 212.54.74.55 (Fri, 28 Jan 2000 22:53:59 MET) NNTP-Posting-Date: Fri, 28 Jan 2000 22:53:59 MET To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > $ i386-pc-msdosdjgpp-g++ halloworld.cpp > > /usr/local/i386-pc-msdosdjgpp/bin/ld: cannot open -lstdc++: No such file or directory > > I don't think that the HOWTO covers C++ compiler installation. > > Did you install the C++ libraries? You need to extract libstdcxx.a from > gppNNNb.zip and install it under the name libstdc++.a in the same > directory where the DJGPP libc.a is kept. You also need to install the > C++ headers from gppNNNb.zip and to build the cc1plus cross-compiler. Is there any place witch says exactly how I do this? > One of the steps in the HOWTO says to do this: > > $ cd ~/djgpp/cross/src/stub > $ gcc -O stubify.c -o /usr/local/i586-pc-msdosdjgpp/stubify > > Did you do that? Do you have `stubify' in /usr/local/i586-pc-msdosdjgpp/? > If so, perhaps you need to copy it to some other directory (the `bin' > subdirectory under /usr/local/i586-pc-msdosdjgpp/?). I did it with i386 instead of i586 and the file stubify is in /usr/local/i386-pc-msdosdjgpp. I tried to move it to the bin directory, and now gcc works. > Btw, why do you say /usr/local/i386-pc-msdosdjgpp/bin/ when the HOWTO > says /usr/local/i586-pc-msdosdjgpp/? Perhaps this is part of the > reason(s) for your problem(s)? Because. I need to compile to 80486. But I have also tried to do exactly what linux-x-djgpp.html and that made the same problem. -- Anders Bo Rasmussen mailto:fuzz01 AT spamfilter DOT dk Frimestervej 42 1.tv http://www.image.dk/~abr 2400 Kbh. NV Denmark