| delorie.com/archives/browse.cgi | search |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: DJGPP under linux |
| Date: | Thu, 27 Jan 2000 18:21:51 +0200 |
| Organization: | NetVision Israel |
| Lines: | 32 |
| Message-ID: | <Pine.SUN.3.91.1000127181542.18238M-100000@is> |
| References: | <q1mp68 DOT d55 DOT ln AT localhost DOT localdomain> |
| NNTP-Posting-Host: | is.elta.co.il |
| Mime-Version: | 1.0 |
| X-Trace: | news.netvision.net.il 948990300 21111 199.203.121.2 (27 Jan 2000 16:25:00 GMT) |
| X-Complaints-To: | abuse AT netvision DOT net DOT il |
| NNTP-Posting-Date: | 27 Jan 2000 16:25:00 GMT |
| X-Sender: | eliz AT is |
| In-Reply-To: | <q1mp68.d55.ln@localhost.localdomain> |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | dj-admin AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Thu, 27 Jan 2000, Anders Bo Rasmussen wrote: > I have followed the guide at > http://www.delorie.com/howto/djgpp/linux-x-djgpp.html on how to make a > cross-compiler from linux to dos. But when i try to compile it makes errors: > > $ 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. > $ i386-pc-msdosdjgpp-gcc halloworld.cpp > i386-pc-msdosdjgpp-gcc: installation problem, cannot exec `stubify': No such file or directory 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/?). 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)?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |