From: "Morph" Newsgroups: comp.os.msdos.djgpp Subject: djgpp with gcc + gpc Date: Sun, 5 Apr 1998 15:06:06 +0100 Organization: (Posted Via) U-NET Ltd. Lines: 29 Message-ID: <6g82qh$kk5$1@news.u-net.com> NNTP-Posting-Host: p21.nas1.is4.u-net.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi I've had the djgpp compiler working fine as a c++ compiler, along with rhide. Then, I decided that I'd also like to try installing the gnu pascal compiler. I've installed it as per the docs into my existing djgpp directory (it's gpc v2.0, in case you were wondering), and can get pascal programs to compile fine, also through rhide with no problems, However, when I then went back to my c++ project, and tried to compile that, I got errors about undefined references (something to do with __eh_pc). I eventually tracked the problem down to a file that the binary distribution of gpc had put in my \djgpp\lib directory - "libgcc.a". If I move the file somewhere else, I can compile my c++ program again, however, this then stops my pascal programs from compiling! I've tried moving the file to - "\djgpp\contrib\grx20\lib", which allows compilation of pascal OK, but not c++. Does anyone out there know where I should place this file, or should I use a batch routine to place it before I go into rhide to use pascal, and likewise to unplace it when I use rhide for c++? Any help would be greatly appreciated :) Pete