On Fri, 01 Feb 2002 07:25:41 -0500, Henry Sobotka wrote:

>Your configuration is somehow messed up so that it's not recognizing
>you're building on OS/2. The command for gcc should look something like
>this:
>
>gcc -o pathsub.obj -c -DOSTYPE=\"OS22\" -DOSARCH=\"OS2\" -DOJI  
>-I../dist/include -I../dist/include `../nsprpub/config/nspr-config
>--prefix=../dist --cflags` -Wall -W -Wno-unused -Wpointer-arith
>-Wcast-align -Wno-long-long -Zmtd -Zomf -DNDEBUG -DTRIMMED -O3  
>-include ../config-defs.h -DMOZILLA_CLIENT ../../config/pathsub.c
>
>Open mozilla.src/mozilla/obj-i386-pc-os2-emx/config/autoconf.mk. Right
>near the end, MOZ_OS2_TOOLS should be set to EMX and
>MOZ_OS2_EMX_OBJECTFORMAT to OMF.
>

This file is empty 0 bytes. The errors that are kicked out by configure
are
creating build/unix/mozilla-config
sed: can't read F: No such file or directory
sed: can't read
F:/mozilla.src/mozilla//mozilla.src/mozilla/build/unix/mozilla-config.in
: No such file or directory
creating config/autoconf.mk
sed: can't read F: No such file or directory
sed: can't read
F:/mozilla.src/mozilla//mozilla.src/mozilla/config/autoconf.mk.in: No
such file or directory
configuring in nsprpub

I also get quite a few of these in nsprpub.
Note that my src directory is F:\mozilla.src\mozilla. One problem that
I found in setmozenv,cmd is that \emx\bin gets added to the path twice,
the second time when the script decides that I am using GCC. The
problem is that this instance of \emx\bin is put in the front of the
path before \moztools so configure picks up all my *nixy tools that are
in \emx\bin including autoconf 2.13 from Hobbes.
Currently I am deleting my source tree and am going to start over.

>Also, check mozilla.src/mozilla/obj-i386-pc-os2-emx/config-defs.h and
>add any of the following that may be missing:
>
>#define OS2 1
>#define OS2EMX_PLAIN_CHAR 1
>#define XP_OS2 1
>#define XP_OS2_EMX 1
>#define XP_OS2_FIX 1
>#define XP_PC 1
>
I have all of these defines.
Dave



Reply via email to