From: Mavi Gozler Newsgroups: comp.os.msdos.djgpp Subject: Re: RSXNTDJ project building difficulties Date: Fri, 15 Oct 1999 06:14:22 GMT Organization: Deja.com - Before you buy. Lines: 86 Message-ID: <7u6gnl$ukq$1@nnrp1.deja.com> References: <7tuuqf$dqs$1 AT nnrp1 DOT deja DOT com> <7u1gh6$a07$1 AT nnrp1 DOT deja DOT com> <7u28es$rar$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: 195.112.128.222 X-Article-Creation-Date: Fri Oct 15 06:14:22 1999 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt) X-Http-Proxy: 1.1 proxy02.ada.net.tr:80 (Squid/2.2.STABLE5), 1.0 x28.deja.com:80 (Squid/1.1.22) for client 195.112.142.189, 195.112.128.222 X-MyDeja-Info: XMYDJUIDbuyuk_yarak To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Johan Venter" wrote: > > So is there anyone here who has successfully configured---what is it? > > the specs file?--on their system such that they can use the one 'ld' > > from the standard distribution to get unresolved externals while using > > the 'ld' that comes with RSXNTDJ to make the exe? I also use rhide to > > build the 32-bit MSDOS programs for testing: is the C standard library > > being referenced different from the one in /djgpp/lib, and if so, how > > do I know I am not getting a buggy (earlier version) of a system call > > than the one used if I weren't using RSXNTDJ?? > > You said you had read my RSXNTDJ HOWTO and that you are using RSXNTDJ 1.5. I'm > inclined not to believe you as my HOWTO mentions nothing of a second copy of ld > named ldrsx. There is no hassle with specs files and linker scripts with 1.5. I did read the HOWTO and implemented the changes. But in addition to your HOWTO there is the RSXNTDJ.HLP file in the DOC subdirectory that apparently explains about how to set up the environment as well. I followed that to the letter first, then applied your fixes and patches. One person even pointed out that my PATH env variable had the /rsxntdj/bin coming after the /djgpp/bin directory, and I was careful to note that order is reversed in fact (unlike for the ./lib subdirectories). In addition there is a subdirectory called PATCH that contains an ld.exe and the .dif apparently between this ld.exe and the binutils ld.exe. It is *that* ld that I have renamed 'ldrsx.exe' and put in the /djgpp/bin directory, thinking I would use that when linking in the RSX development environment, and using the binutils 'ld' when linking the 32-bit DOS environment. But please read below. > RSXNTDJ 1.5 uses gccw32 to compile RSXNTDJ 1.5 programs, not gcc. gccw32 is merely a wrapper which apparently sets up the environment for calling gcc, right? > One more thing, why is your cpp version so old? You shouldn't mix versions like > that. I wasn't aware of that. I will update. But has cpp changed significantly that it would really affect what is happening here?? --- Here's what I want to do: I want to be able to set up the environment and configuration such that I can do two things at will, and at any time: 1. Develop 32-bit MSDOS programs (through rhide) using the standard DJGPP library with its port of GCC 2. Alternately develop Win32 consoles/DLLs/GUIs etc. using RSXNTDJ with its library and particular port of gcc. So how do I set up my Windows 95 system for environment and configuration to do that?? It seems clear to me that the people using RSXNTDJ *only* use that on their system, or that people using DJGPP for MSDOS *only* use that on their system, and there is no one in this group who switches between development systems. If you are such a person that uses both, just please provide the basic configuration and environment I need, and my troubles will be over. Thank you. > -- > Johan Venter > ICQ 3643877 - jventer AT writeme DOT com > The TPU DJGPP Interest Group - http://surf.to/djgppig > The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj Sent via Deja.com http://www.deja.com/ Before you buy.