From: kagel AT quasar DOT bloomberg DOT com Date: Wed, 29 Jan 1997 15:04:46 -0500 Message-Id: <9701292004.AA15360@quasar.bloomberg.com > To: markus AT pool DOT uni-mannheim DOT de Cc: djgpp AT delorie DOT com In-Reply-To: <165AAF1451C@pool.uni-mannheim.de> (markus@pool.uni-mannheim.de) Subject: Re: gcc & library Reply-To: kagel AT dg1 DOT bloomberg DOT com From: "Markus Klink" 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