Date: Fri, 3 Feb 95 08:03:50 EST From: "T. Scott Ankrum" To: G++ mailing list Subject: DJGPP Under OS/2 Warp Thank to those who pointed out that GASnnnBN.ZIP is no longer a separate package. I have installed what I think are all the packages need to compile and run C++ on my OS/2 Warp system at home. I have had many problems, so I will begin by listing everything I installed. lgp262bin.zip lgp262dc.zip bnu252.zip gcc263bn.zip gcc263rm.zip (the 2/1/95 version) gpp263bn.zip djdev112.zip djdoc112.zip djeoe112.zip txi310bn.zip After all of those were unzipped under a directory called djgpp, I unzipped each of the four dj112m?.zip files, executing 112m?.bat after each one. Each of the bat files produced errors. (I executed them under DOS.) The first one could not find: LIBSRC\C\SYS\STAT_AST.S and LIBSRC\C\SYS\GETTIMEO.S All four of them produced the following error once or twice: SYS3088: The name AR is not recognozed as an internal or external command, an operable program, or a batch file. Each of them told me I could remove the objs and p_objs directories, but there is no p_objs directory. ------- The file djgpp.env seemed to have more than I needed so I created an OS/2 .CMD file from it. I omitted the OBJC_ and OBJCPLUS_ includes. I also noticed that the subdirectory djgpp\include\sys was not listed so I added it to C_INCLUDE_PATH. I could not compile under OS/2. Both GO32 and GCC wanted to be run under DOS. I am also confused by the fact that I have another version of GCC. I had previously installed GNAT Ada (from cs.nyu.edu) and it works well under OS/2. Can I use that OS/2 version of GCC instead of the GCC that I got from oak.oakland.edu? If so, can I remove GO32? What other changes would I need? I have not gotten my simple C++ program to compile successfully yet. The closest I got was pointing to the GCC that came from oak, in what I think is a post-compile link, told me it could not find crt0.o which I could not find mentioned in my program. Also, its result was a file named for my program with no suffix. ------- I hope someone can help me with some of my confusion. T. Scott Ankrum -- IBM, Software Solutions Division, Bethesda Phone: (301)-803-1990 FAX: (301)-803-2377 Inter-Enterprise: USIB1JKV at IBMMAIL Internet: scott_ankrum AT vnet DOT ibm DOT com |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| | Life: "It is a tale told by an idiot, full of sound | | and fury, signifying nothing." Shakespeare | |___________________________________________________________|