Mail Archives: djgpp/1995/02/04/16:20:21
> 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.
It wasn't a batch file. It's a data file that go32 reads directly.
You shouldn't have to do anything with it.
> I also noticed that the subdirectory djgpp\include\sys was not listed
> so I added it to C_INCLUDE_PATH.
It's not supposed to. The source would have #include <sys/...h> in
it.
> 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
They *are* dos programs, after all. You must run them in a DOS box.
If you want a native OS/2 compiler, get emx.
> 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
crt0.o is in lib/ctr0.o under djgpp. It's in djdev112.zip. The
djgpp.env file points to it.
> which I could not find mentioned in my program. Also, its result was a
> file named for my program with no suffix.
You need to run coff2exe to turn the gcc output into a DOS executable.
- Raw text -