Mail Archives: djgpp/2000/07/28/18:28:44

Message-ID: <>
Date: Fri, 28 Jul 2000 15:30:55 -0700
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: DJGPP <djgpp AT delorie DOT com>
Subject: Cross-compiler questions, re errors
Reply-To: djgpp AT delorie DOT com

I've deleted my original post so don't have a reference to it:  DJGPP
cross-compiler, compiled using Cygwin 1.1.2 development environment, on
WinNT 4.0, SP5 system, using the "latest" src tarballs for binutils and

I've gotten the cross-compiler to the stage where the compiler itself
appears to be working, and a "second stage" configure was done
(presumably to create the libraries).  The first issue is that configure
checks the new compiler to be sure it works (it does), then to see if it
is a cross-compiler.  This check says "no".  I'd think it should be

Then there are two compile errors relating to header files.  These are
the files I made available in /usr/local/i586-pc-msdosdjgpp/include per
the instructions (except I just copied them there rather than making
symbolic links).  The errors were previous declaration of _sizt_t and
_wchar_t symbols.

At the locations in the offending files referenced by the error message,
I see:




followed by:

#undef __DJ_size_t
#define __DJ_size_t


#undef __DJ_wchar_t
#define __DJ_wchar_t

This is my first experience with any of this and I'm not sure what to
look for or try to do to correct these problems (I've tried commenting
out the two __DJ_... items, and that got rid of the errors, but I had
other errors of similar nature latter and don't want make more "blind"


Bob McGowan
Staff Software Quality Engineer
VERITAS Software

- Raw text -

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