Message-ID: <19981119152615.15192.rocketmail@send104.yahoomail.com> Date: Thu, 19 Nov 1998 07:26:15 -0800 (PST) From: Jeremy Ford Subject: Re: compiling with Rsxntdj To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Reply-To: djgpp AT delorie DOT com > > > > Steen Espersen wrote: > > > > c:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory > > (ENOENT) > > check the specs file for the following lines: > > *link: > %{Zwin32: -Lc:/rsxntdj/lib/all -Lc:/rsxntdj/lib/mt} > > there are two directories under rsxntdj/lib/, /mt and /st. there is a > copy of libc_app.a in each. I am not sure what the implications of each > is.... The mt directory is to develop multi-threaded programs and the st directory is to develop single threaded programs. I used both directories and found that when using the libs out of the mt directory it more then doubled the size of the executable. So in my specs file I use: %{Zwin32: -Le:/djgpp/rsxntdj/lib/all -Le:/djgpp/rsxntdj/lib/st} You can always change this if you want multi-threaded programs. I also use 2 different batch files where ones sets up djgpp for DOS and one that sets up djgpp for windows...they each use different djgpp.env (the win batch file uses rsxntdj .env) and they use the appropriate linker. ( I believe you have to use the linker that comes with rsxntdj.) I have not been able to test this extensively but the programs I have built worked... hope this helps Jeremy Ford _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com