Mail Archives: djgpp/1997/01/29/15:23:35
From: "Markus Klink" <markus AT pool DOT uni-mannheim DOT de>
Date: Wed, 29 Jan 1997 19:37:30 +0000
I must admit that I am quite new to the djgpp community. I got the
system up and running (hello, world compiles :-).
Then I needed to compile a large C++ library tha belonged to a Unix
system. After all the hassle with the file names I could immediately
compile it without an error. All the object files were linked to a
library using ar rvs .....o ....o ....o Is this correct? At least nm
produces a reasonable output.
When I try to compile an example program I get an error by ld:
cannot open libga.a: no such file or directory (ENOENT)
You do not provide the ld/gcc command line you used to link. Did you
include '-Lmylibdir -lga' in the command line? If not that is your
problem. Also I assume that the actual command line to ar was like:
ar rvs libga.a .....o .....o .....o ...
If these are not the problems, please post actual command lines for
both the ar run and the link step.
All the diagnostics in the FAQ couldn t help me so far. The
-Tdjgpp.djl switch is passed to the linker, I have plenty of RAM (32
MB, 8MB ramdrive), the djgpp.env is set correctly and so on. I have a
Novell Network running in the background but I am not logged in.
--
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com
A proverb is no proverb to you 'till life has illustrated it. -- John Keats
- Raw text -