* Errors trying to compile gcc 2.7.2.1
@ 2000-03-17 2:57 Virgil Palanciuc
0 siblings, 0 replies; only message in thread
From: Virgil Palanciuc @ 2000-03-17 2:57 UTC (permalink / raw)
To: cygwin
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]
   I am
trying to build a cross-compiler for a SC100Â from gcc2.7.2.1 (the machine
description was written for this version of gcc and I couldn't manage to
build using a different version of gcc with it),
   The
version of cygwin IÂ have comes with egcs2-91-57.
   I
managed to build a cross-compiler on a i586-solaris, but when I try build it
using cygwin it fails with the following error:
[/home/stud/badrian/cg27]$ make LANGUAGES=c gcc
-DCROSS_COMPILE -DIN_GCC  -g  -o xgcc gcc.o
version.o obstack.o ` case "gcc" in "cc") echo "" ;; esac ` gcc.o: In
function
`pexecute': /d/UnixRoot/home/stud/badrian/cg27/../gcc-2.7.2.1/gcc.c:2139:
undefined reference to
`__spawnv' /d/UnixRoot/home/stud/badrian/cg27/../gcc-2.7.2.1/gcc.c:2139:
undefined reference to `__spawnvp' collect2: ld returned 1 exit
status make: *** [xgcc] Error 1
  The odd
thing about this is that this is actually a linker error. I looked at
gcc.c and apparently the error is caused by the following
lines:
#ifndef _WIN32 #include <sys/file.h>
/* May get R_OK, etc. on some systems. */ #else #include
<process.h> int __spawnv (); int __spawnvp (); #endif
  Can
anybody help me?
Virgil
Â
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-03-17 2:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-17 2:57 Errors trying to compile gcc 2.7.2.1 Virgil Palanciuc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).