public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Help required for building GCC
@ 2008-04-01 18:38 Ganesh Gopalasubramanian
  2008-04-05  2:38 ` Brian Dessent
  0 siblings, 1 reply; 3+ messages in thread
From: Ganesh Gopalasubramanian @ 2008-04-01 18:38 UTC (permalink / raw)
  To: gcc-help

I am trying to build GCC 4.3.0 in cygwin environment.
I configured using the following options --prefix=/usr/local/gcc430
--program-prefix=HB- --enable-languages=c

Then I did "make". I am getting the following error. Please help me.

$ make
[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory `/home/ObjDir'
-bubble'.  Stop.rule to make target `stage3
make[1]: Leaving directory `/home/ObjDir'
make: *** [all] Error 2

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help required for building GCC
  2008-04-01 18:38 Help required for building GCC Ganesh Gopalasubramanian
@ 2008-04-05  2:38 ` Brian Dessent
  2008-04-06 17:48   ` Ganesh Gopalasubramanian
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Dessent @ 2008-04-05  2:38 UTC (permalink / raw)
  To: Ganesh Gopalasubramanian; +Cc: gcc-help

Ganesh Gopalasubramanian wrote:

> I am trying to build GCC 4.3.0 in cygwin environment.
> I configured using the following options --prefix=/usr/local/gcc430
> --program-prefix=HB- --enable-languages=c
> 
> Then I did "make". I am getting the following error. Please help me.
> 
> $ make
> [ -f stage_final ] || echo stage3 > stage_final
> make[1]: Entering directory `/home/ObjDir'
> -bubble'.  Stop.rule to make target `stage3
> make[1]: Leaving directory `/home/ObjDir'
> make: *** [all] Error 2

It looks like you are getting embedded carriage returns in the
stage_final file such that make thinks it's looking for a bogus rule
"stage3\r-bubble".  That could be a symptom of using textmode (DOS)
mounts which are evil and the source of countless bizarre errors.  If
you are using them you should should switch to binary (unix) mode and
start again from scratch.

Brian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Help required for building GCC
  2008-04-05  2:38 ` Brian Dessent
@ 2008-04-06 17:48   ` Ganesh Gopalasubramanian
  0 siblings, 0 replies; 3+ messages in thread
From: Ganesh Gopalasubramanian @ 2008-04-06 17:48 UTC (permalink / raw)
  To: gcc-help; +Cc: brian

Thanks Brian. U got it 100% right. Now I could build GCC. Thanks again.

On Sat, Apr 5, 2008 at 7:55 AM, Brian Dessent <brian@dessent.net> wrote:
>
> Ganesh Gopalasubramanian wrote:
>
>  > I am trying to build GCC 4.3.0 in cygwin environment.
>  > I configured using the following options --prefix=/usr/local/gcc430
>  > --program-prefix=HB- --enable-languages=c
>  >
>  > Then I did "make". I am getting the following error. Please help me.
>  >
>  > $ make
>  > [ -f stage_final ] || echo stage3 > stage_final
>  > make[1]: Entering directory `/home/ObjDir'
>  > -bubble'.  Stop.rule to make target `stage3
>  > make[1]: Leaving directory `/home/ObjDir'
>  > make: *** [all] Error 2
>
>  It looks like you are getting embedded carriage returns in the
>  stage_final file such that make thinks it's looking for a bogus rule
>  "stage3\r-bubble".  That could be a symptom of using textmode (DOS)
>  mounts which are evil and the source of countless bizarre errors.  If
>  you are using them you should should switch to binary (unix) mode and
>  start again from scratch.
>
>  Brian
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-06  6:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-01 18:38 Help required for building GCC Ganesh Gopalasubramanian
2008-04-05  2:38 ` Brian Dessent
2008-04-06 17:48   ` Ganesh Gopalasubramanian

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).