comp.lang.ada
 help / color / mirror / Atom feed
* ANN: compile gcc 3.4.1 How To
@ 2004-07-01  8:29 Martin Krischik
  2004-07-01 11:06 ` Jeff C,
  2004-07-03 18:26 ` ANN: " Stany Marcel
  0 siblings, 2 replies; 14+ messages in thread
From: Martin Krischik @ 2004-07-01  8:29 UTC (permalink / raw)


Hello

I have written a little How To on compiling the gcc 3.4.1:

http://ada.krischik.com/gnat-3_4_1.html

With Regards

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




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

* Re: compile gcc 3.4.1 How To
  2004-07-01  8:29 ANN: compile gcc 3.4.1 How To Martin Krischik
@ 2004-07-01 11:06 ` Jeff C,
  2004-07-01 13:30   ` Martin Krischik
  2004-07-06 11:09   ` Jeff C,
  2004-07-03 18:26 ` ANN: " Stany Marcel
  1 sibling, 2 replies; 14+ messages in thread
From: Jeff C, @ 2004-07-01 11:06 UTC (permalink / raw)



"Martin Krischik" <krischik@users.sourceforge.net> wrote in message
news:3439971.4nFu5P88Wl@linux1.krischik.com...
> Hello
>
> I have written a little How To on compiling the gcc 3.4.1:
>
> http://ada.krischik.com/gnat-3_4_1.html
>
> With Regards

Nice page.

I notice that you use the "freshly" built compiler to build itself again
since you don't like the 3.3 series.

Normally when I do a GNAT or GCC build I just to a make bootstrap
(And for some reason on 3.4.0 I also had do to the old cd gcc; make
gnatlib_and_tools even though it did
not show up in the docs).

In any case, a normal gcc bootstrap build does use the new compiler to
compile itself..(along with
some checking to make sure things make sense)

Finally, the directions you posted are somewhat Linux specific (as you
indicate within the page but not really at the top)..

While the basic approach is correct for most hosts, I would not (normally)
recommend using GNU
 ld and as on a Solaris hosted machine.





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

* Re: compile gcc 3.4.1 How To
  2004-07-01 11:06 ` Jeff C,
@ 2004-07-01 13:30   ` Martin Krischik
  2004-07-02  0:09     ` Jeff C,
  2004-07-06 11:09   ` Jeff C,
  1 sibling, 1 reply; 14+ messages in thread
From: Martin Krischik @ 2004-07-01 13:30 UTC (permalink / raw)


Jeff C, wrote:

> 
> "Martin Krischik" <krischik@users.sourceforge.net> wrote in message
> news:3439971.4nFu5P88Wl@linux1.krischik.com...
>> Hello
>>
>> I have written a little How To on compiling the gcc 3.4.1:
>>
>> http://ada.krischik.com/gnat-3_4_1.html
>>
>> With Regards
> 
> Nice page.

Thanks.

> I notice that you use the "freshly" built compiler to build itself again
> since you don't like the 3.3 series.
> 
> Normally when I do a GNAT or GCC build I just to a make bootstrap

Ah, interesting.

> While the basic approach is correct for most hosts, I would not (normally)
> recommend using GNU
>  ld and as on a Solaris hosted machine.

But I have not got a Solaris mashine. Maybe you like to copy my doc and make
a Solaris How-To. We could collect them all on one webside (maybe
adaworld).

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




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

* Re: compile gcc 3.4.1 How To
  2004-07-01 13:30   ` Martin Krischik
@ 2004-07-02  0:09     ` Jeff C,
  2004-07-02  6:34       ` Martin Krischik
  0 siblings, 1 reply; 14+ messages in thread
From: Jeff C, @ 2004-07-02  0:09 UTC (permalink / raw)



"Martin Krischik" <krischik@users.sourceforge.net> wrote in message
news:2536590.YRgJeOmNcu@linux1.krischik.com...
>
> But I have not got a Solaris mashine. Maybe you like to copy my doc and
make
> a Solaris How-To. We could collect them all on one webside (maybe
> adaworld).
>

Not a bad idea. 3.4.1 is just about out (CVS frozen)...So I'll try to do a
fresh 3.4.1 Sparc Solaris build this weekend and see if there are any
problems.

I suspect we can do one document. There really are not a lot of
differences..





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

* Re: compile gcc 3.4.1 How To
  2004-07-02  0:09     ` Jeff C,
@ 2004-07-02  6:34       ` Martin Krischik
  0 siblings, 0 replies; 14+ messages in thread
From: Martin Krischik @ 2004-07-02  6:34 UTC (permalink / raw)


Jeff C, wrote:

> 
> "Martin Krischik" <krischik@users.sourceforge.net> wrote in message
> news:2536590.YRgJeOmNcu@linux1.krischik.com...
>>
>> But I have not got a Solaris mashine. Maybe you like to copy my doc and
> make
>> a Solaris How-To. We could collect them all on one webside (maybe
>> adaworld).

> Not a bad idea. 3.4.1 is just about out (CVS frozen)...So I'll try to do a
> fresh 3.4.1 Sparc Solaris build this weekend and see if there are any
> problems.
> 
> I suspect we can do one document. There really are not a lot of
> differences..

Should I move the Doc to the sourceforce cvs then so you can edit it?
(Currently I allready misuse the the gnat-asis project for a forum on
installing gcc 3.4.1)

BTW: I plan to extend to doc to include all the libs which I use.

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-01  8:29 ANN: compile gcc 3.4.1 How To Martin Krischik
  2004-07-01 11:06 ` Jeff C,
@ 2004-07-03 18:26 ` Stany Marcel
  2004-07-04  7:22   ` Martin Krischik
  2004-07-05 16:08   ` Brian Catlin
  1 sibling, 2 replies; 14+ messages in thread
From: Stany Marcel @ 2004-07-03 18:26 UTC (permalink / raw)


Martin Krischik wrote:

> Hello
> 
> I have written a little How To on compiling the gcc 3.4.1:
> 
> http://ada.krischik.com/gnat-3_4_1.html
> 
> With Regards
> 
> Martin

Hello

When I make all step in the How To it doesn't build the ada support for gcc.
I have gcc 3.3.3 (Gentoo Linux 3.3.3-r6) and GNAT 3.15p installed.

What compiler do you use to build ada support for gcc ?

thanks,

-- 
Stany




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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-03 18:26 ` ANN: " Stany Marcel
@ 2004-07-04  7:22   ` Martin Krischik
  2004-07-04 18:06     ` Stany Marcel
  2004-07-05 16:08   ` Brian Catlin
  1 sibling, 1 reply; 14+ messages in thread
From: Martin Krischik @ 2004-07-04  7:22 UTC (permalink / raw)


Stany Marcel wrote:

> Martin Krischik wrote:
> 
>> Hello
>> 
>> I have written a little How To on compiling the gcc 3.4.1:
>> 
>> http://ada.krischik.com/gnat-3_4_1.html
>> 
>> With Regards
>> 
>> Martin
> 
> Hello
> 
> When I make all step in the How To it doesn't build the ada support for
> gcc. I have gcc 3.3.3 (Gentoo Linux 3.3.3-r6) and GNAT 3.15p installed.

Well there is allways the infamous:

make -C gcc gnatlib_and_tools

But I don't usually call that any more. Tell me if it worked and I change
the doc.

> What compiler do you use to build ada support for gcc ?

gnat
GNAT 3.3.1 (SuSE Linux) Copyright 1996-2002 Free Software Foundation, Inc.

With Regards

Martin
-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-04  7:22   ` Martin Krischik
@ 2004-07-04 18:06     ` Stany Marcel
  2004-07-04 18:21       ` Martin Krischik
  0 siblings, 1 reply; 14+ messages in thread
From: Stany Marcel @ 2004-07-04 18:06 UTC (permalink / raw)


Martin Krischik wrote:

> Well there is allways the infamous:
> 
> make -C gcc gnatlib_and_tools
> 
> But I don't usually call that any more. Tell me if it worked and I change
> the doc.

No it doesn't work too, the rule doesn't exist. 

> 
>> What compiler do you use to build ada support for gcc ?
> 
> gnat
> GNAT 3.3.1 (SuSE Linux) Copyright 1996-2002 Free Software Foundation, Inc.

Did you build it or get it from binaries ? because when I have tried to
build gnat on gcc 3.3 I can't compile all the tools. 

> 
> With Regards
> 
> Martin

thanks,

-- 
Stany




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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-04 18:06     ` Stany Marcel
@ 2004-07-04 18:21       ` Martin Krischik
  2004-07-05 16:19         ` Stany Marcel
  0 siblings, 1 reply; 14+ messages in thread
From: Martin Krischik @ 2004-07-04 18:21 UTC (permalink / raw)


Stany Marcel wrote:

> Martin Krischik wrote:
> 
>> Well there is allways the infamous:
>> 
>> make -C gcc gnatlib_and_tools
>> 
>> But I don't usually call that any more. Tell me if it worked and I change
>> the doc.
> 
> No it doesn't work too, the rule doesn't exist.
 
You must have made a mistake. I tried it this morning the the rule is there.
As alternative you can try (from you build directory):

cd gcc
make gnatlib_and_tools

>>> What compiler do you use to build ada support for gcc ?
>> 
>> gnat
>> GNAT 3.3.1 (SuSE Linux) Copyright 1996-2002 Free Software Foundation,
>> Inc.
> 
> Did you build it or get it from binaries ? because when I have tried to
> build gnat on gcc 3.3 I can't compile all the tools.

All SuSE  Professional Editions come with GNAT. And the 3.3.x versions all
need "make -C gcc gnatlib_and_tools".

Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-03 18:26 ` ANN: " Stany Marcel
  2004-07-04  7:22   ` Martin Krischik
@ 2004-07-05 16:08   ` Brian Catlin
  1 sibling, 0 replies; 14+ messages in thread
From: Brian Catlin @ 2004-07-05 16:08 UTC (permalink / raw)


"Stany Marcel" <marcel_s@epita.fr> wrote in message 
news:40e6fa69$0$31966$636a15ce@news.free.fr...
> Martin Krischik wrote:
>
>> Hello
>>
>> I have written a little How To on compiling the gcc 3.4.1:
>>
>> http://ada.krischik.com/gnat-3_4_1.html
>>
>> With Regards
>>
>> Martin
>

Has anyone built GCC 3.4 for Windows running Services for Unix (Interix), the 
free POSIX environment?

 -Brian





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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-04 18:21       ` Martin Krischik
@ 2004-07-05 16:19         ` Stany Marcel
  2004-07-05 17:02           ` Stany Marcel
  2004-07-05 21:07           ` Stany Marcel
  0 siblings, 2 replies; 14+ messages in thread
From: Stany Marcel @ 2004-07-05 16:19 UTC (permalink / raw)


Martin Krischik wrote:

> You must have made a mistake. I tried it this morning the the rule is
> there. As alternative you can try (from you build directory):
> 
> cd gcc
> make gnatlib_and_tools

The rules realy doesn't exits in my build dir in subdirectory gcc. I didn't
have either a gcc/ada directory. Maybe it is because gcc-3.4.1 ada support
can't be build from gnat 3.15 (based on gcc 2.xx). 

I will try to compile before the support for an older version, 3.3.x,
before.

-- 
Stany MARCEL



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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-05 16:19         ` Stany Marcel
@ 2004-07-05 17:02           ` Stany Marcel
  2004-07-05 21:07           ` Stany Marcel
  1 sibling, 0 replies; 14+ messages in thread
From: Stany Marcel @ 2004-07-05 17:02 UTC (permalink / raw)



It is because ada/Make-lang.in is not included in gcc/Makefile, 
but for the moment I don't know why?

-- 
Stany MARCEL




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

* Re: ANN: compile gcc 3.4.1 How To
  2004-07-05 16:19         ` Stany Marcel
  2004-07-05 17:02           ` Stany Marcel
@ 2004-07-05 21:07           ` Stany Marcel
  1 sibling, 0 replies; 14+ messages in thread
From: Stany Marcel @ 2004-07-05 21:07 UTC (permalink / raw)


Stany Marcel wrote:

> I will try to compile before the support for an older version, 3.3.x,
> before.

I built gcc 3.3.1 for compiling 3.4.1 and it works well.

-- 
Stany MARCEL




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

* Re: compile gcc 3.4.1 How To
  2004-07-01 11:06 ` Jeff C,
  2004-07-01 13:30   ` Martin Krischik
@ 2004-07-06 11:09   ` Jeff C,
  1 sibling, 0 replies; 14+ messages in thread
From: Jeff C, @ 2004-07-06 11:09 UTC (permalink / raw)



"Jeff C," <jcreem@yahoo.com> wrote in message
news:BeSEc.7199$XM6.6409@attbi_s53...
>
> "Martin Krischik" <krischik@users.sourceforge.net> wrote in message
> news:3439971.4nFu5P88Wl@linux1.krischik.com...
> > Hello
> >
> > I have written a little How To on compiling the gcc 3.4.1:
> >
> > http://ada.krischik.com/gnat-3_4_1.html
> >
> > With Regards
>
> Nice page.
>
> I notice that you use the "freshly" built compiler to build itself again
> since you don't like the 3.3 series.
>
> Normally when I do a GNAT or GCC build I just to a make bootstrap
> (And for some reason on 3.4.0 I also had do to the old cd gcc; make
> gnatlib_and_tools even though it did
> not show up in the docs).
>


..I spent some time this weekend updating my Solaris build of GCC to use
3.4.1 (was doing 3.4)..
Looks like for the 3.4 series compilers the make gnatlib_and_tools in the
gcc directory still is the appropriate
way to build the libraries and tools like gnatmake for a bootstrap build
(i.e. I do a make boostrap followed by
a cd gcc ; make gnatlib_and_tools)

For non bootstrap builds (as described on your site) does it really build
those tools for you without this
extra command for non-bootstrap builds with the 3.4.X series compilers?






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

end of thread, other threads:[~2004-07-06 11:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-01  8:29 ANN: compile gcc 3.4.1 How To Martin Krischik
2004-07-01 11:06 ` Jeff C,
2004-07-01 13:30   ` Martin Krischik
2004-07-02  0:09     ` Jeff C,
2004-07-02  6:34       ` Martin Krischik
2004-07-06 11:09   ` Jeff C,
2004-07-03 18:26 ` ANN: " Stany Marcel
2004-07-04  7:22   ` Martin Krischik
2004-07-04 18:06     ` Stany Marcel
2004-07-04 18:21       ` Martin Krischik
2004-07-05 16:19         ` Stany Marcel
2004-07-05 17:02           ` Stany Marcel
2004-07-05 21:07           ` Stany Marcel
2004-07-05 16:08   ` Brian Catlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox