Building gcc in cygwin

Questions about programming languages and debugging
Post Reply
User avatar
Stavros
ΜΟΛΩΝ ΛΑΒΕ
ΜΟΛΩΝ ΛΑΒΕ
Posts: 1098
Joined: 02 Jan 2006, 17:00
18
Location: Mississippi, U.S.A.

Building gcc in cygwin

Post by Stavros »

Has anyone here sucessfully built gcc in cygwin? I've been trying off and on for the past week or so, but when I get to the "make -j 2" I get an error.

I'm following this guide.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
18
Location: In your eye floaters.
Contact:

Re: Building gcc in cygwin

Post by bad_brain »

hm, what is the exact error? :-k
Image

User avatar
Stavros
ΜΟΛΩΝ ΛΑΒΕ
ΜΟΛΩΝ ΛΑΒΕ
Posts: 1098
Joined: 02 Jan 2006, 17:00
18
Location: Mississippi, U.S.A.

Re: Building gcc in cygwin

Post by Stavros »

I don't remember it's out of the buffer. I put the three programs i'm supposed to compile in the gcc directory and it hasn't errored yet. I'll see how this goes and post if there's an error.

And here we go:

Code: Select all

make[3]: *** [ipa.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm gcc.pod
make[3]: Leaving directory `/usr/local/contrib/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/usr/local/contrib/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/usr/local/contrib/build'
make: *** [all] Error 2

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
18
Location: In your eye floaters.
Contact:

Re: Building gcc in cygwin

Post by bad_brain »

hm, use the -v switch to get verbose output, maybe this will help to identify the problem... :-k
Image

User avatar
Stavros
ΜΟΛΩΝ ΛΑΒΕ
ΜΟΛΩΝ ΛΑΒΕ
Posts: 1098
Joined: 02 Jan 2006, 17:00
18
Location: Mississippi, U.S.A.

Re: Building gcc in cygwin

Post by Stavros »

I've totally given up on Cygwin. I'm going to install Ubuntu on a spare computer I built for this project (which has been lying dormant) and use it as a repository and build environment. Hopefully cross-compiling from linux to windows is less painful than window to linux.

Post Reply