www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/04/17:35:16

Date: Fri, 3 Feb 95 13:46:33 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: scott_ankrum AT VNET DOT IBM DOT COM
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: DJGPP Under OS/2 Warp
Reply-To: babcock AT cfa DOT harvard DOT edu

> The first one could not find:
>     LIBSRC\C\SYS\STAT_AST.S and LIBSRC\C\SYS\GETTIMEO.S

These would have been in the optional library source files which you did not
install.

> SYS3088: The name AR is not recognozed as an internal
> or external command, an operable program, or a batch file.

If you had a previous installation of djgpp, ar would have been on your path.
Edit the batch files and change the ar references to ..\bin\ar.

> I also noticed that the subdirectory djgpp\include\sys was not listed
> so I added it to C_INCLUDE_PATH.

References to include files in this directory are normally made as sys\xxxx,
and in fact there are names duplicated between include and include\sys, so
you are porbably better off not having sys in the include path.

>     I could not compile under OS/2. Both GO32 and GCC wanted to be run
> under DOS.

Djgpp is a DOS package which will run in a DOS window under OS/2.  It's not
dual mode, and it cannot create native OS/2 applications.    If you want to
do that, you probably want EMX rather than djgpp.

> 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.

Crt0.o is the library startup routine which calls your main.  The fact that
it was not found suggests that you don't have an environment variable
pointing at djgpp.env, nor separate variables taking the place of the stuff
in djgpp.env.  The linked program can either be run by
  go32 progname
or you can use coff2exe to make a regular executable.  Check djgpp.faq for
more info.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019