Henry, Dave, thank you for your good advice and information.
I think my build environment is in good condition now and
I'm started 400 meter hurdle running - called "building".

First hurdle was "cc1.exe: Invalid option `-Wno-long-long'".
As Henry's advice, I can ignore this error by removing
"-Wno-long-long" from mozilla/obj/config/autoconf.mk

Second hurdle was errors on compiling
mozilla/nsprpub/pr/src/md/os2/os2cv.c.
Typedef of BOOL16 is missing for emx/gcc?
I can avoid this error by adding
  typedef unsigned short BOOL16;
to mozilla/nsprpub/pr/include/md/_os2.h tentatively,
but i don't know this is correct.

Third hurdle was errors on compiling
mozilla/nsprpub/pr/src/md/os2/os2sock.c.
Cure was shown on Henry's old post as adding
  #define SOCEINTR          EINTR
  #define SOCEWOULDBLOCK    EWOULDBLOCK
  #define SOCECONNABORTED   ECONNABORTED
  #define SOCEINPROGRESS    EINPROGRESS
  #define SOCENOTSOCK       ENOTSOCK
to mozilla/nsprpub/pr/include/md/_os2.h

Fourth hurdle is failing to create
mozilla/obj/directory/c-sdk/config/now.exe.
I got "gcc: /Fenow.exe: No such file or directory" message.
I don't know how to correct it.

Fifth hurdle will be on compiling
mozilla/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c.
"SOCBASEERR" and other macro are not defined for emx/gcc.

The hurdle become higher and higher...
Trainer, can I take a rest? X-(

-- 
Achain

Reply via email to