delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/12/00:26:54

From: Rod DOT Bates AT wichita DOT boeing DOT com (Bates, Rod)
Subject: RE: cygwin + win95: make boot-SRC-3.3-Modula-3-ERRORS
12 Dec 1998 00:26:54 -0800 :
Message-ID: <6C7E2A10BB01D111929500400B406DDEE6396D.cygnus.gnu-win32@xch-wch-02.ks.boeing.com>
Mime-Version: 1.0
To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

My recollection of the details is somewhat vague, but I
remember struggling with undefined link symbols, including
these same ones.  I was building the pm1.1.7 boot on NT.

Do you by chance have gnat installed?  It sets up PATH
differently from cygwin, giving different executables for
gcc and/or ld, or other things, which in turn look in
different places in different orders for things to link to.

I recall I did a lot of experiments on path ordering,
gcc-generated ld commands, etc.  I now have two scripts
which change PATH:

bash-2.01$ cat tocygwin
export PATH="/USR/pm3/bin:/Cygnus/B19/H-i386-cygwin32/bin:/bin:\
/USR/bin:/WINNTW4/system32:/WINNT4:/PROGRA~1/Extra

bash-2.01$ cat tognat

export PATH="/USR/bin:/USR/pm3/bin:/Cygnus/B19/H-i386-cygwin32/bin:\
/bin:/WINNTW4/system32:/WINNT4:/PROGRA~1/Extra!6.2"

(backslashes added to make lines fit)

One additional complication: I compiled a program with a mixture
of Ada and Modula-3 code in a single executable.  It worked
without a hitch on Linux, but I had an awful time getting it
to link on NT.  

Klaus Reinhardt wrote:
> 
> ----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE start -------------------
> Hello!
> 
> I tried to compile boot-LINUX (SRC 3.6 Modula-3) with gcc from cygwin
> under Win-95. After a few sym-links I was happy to see compiling,
> but the big end:
> 
> ...
> ext+0x34b7): undefined reference to `errno'
> RTThreadC.c: undefined reference to `__setjmp'
> TThreadC.c: undefined reference to `__longjmp'
> 
> Well, I havn't Linux, but a lot is going.. -).
> Who can help?
> 
>                 Thanks Klaus
> ----------------- mailto:K DOT Rdt AT TU-Berlin DOT DE !end! -------------------
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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