* [gcc-in-cxx] zlib?
@ 2009-07-16 1:46 Jerry Quinn
2009-07-16 2:08 ` Ian Lance Taylor
0 siblings, 1 reply; 4+ messages in thread
From: Jerry Quinn @ 2009-07-16 1:46 UTC (permalink / raw)
To: gcc
Hi. I started looking at what it would take to convert zlib to build
with c++.
First off, it's not GPL. Are there any issues with modifying the code
checked into the tree?
Next, it uses automake, which seems to assume that a .c file should be
compiled with CC, and not CXX. I get the impression we need to subvert
automake to get this to happen.
Any thoughts?
Jerry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gcc-in-cxx] zlib?
2009-07-16 1:46 [gcc-in-cxx] zlib? Jerry Quinn
@ 2009-07-16 2:08 ` Ian Lance Taylor
2009-07-16 2:25 ` Jerry Quinn
0 siblings, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2009-07-16 2:08 UTC (permalink / raw)
To: Jerry Quinn; +Cc: gcc
Jerry Quinn <jlquinn@optonline.net> writes:
> Hi. I started looking at what it would take to convert zlib to build
> with c++.
The zlib library in gcc is actually a copy of upstream sources, so I
don't think it would be a good idea to make this change. We should stay
as close to the upstream source as possible.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gcc-in-cxx] zlib?
2009-07-16 2:08 ` Ian Lance Taylor
@ 2009-07-16 2:25 ` Jerry Quinn
2009-07-16 3:25 ` Ian Lance Taylor
0 siblings, 1 reply; 4+ messages in thread
From: Jerry Quinn @ 2009-07-16 2:25 UTC (permalink / raw)
To: Ian Lance Taylor; +Cc: gcc
On Wed, 2009-07-15 at 19:07 -0700, Ian Lance Taylor wrote:
> Jerry Quinn <jlquinn@optonline.net> writes:
>
> > Hi. I started looking at what it would take to convert zlib to build
> > with c++.
>
> The zlib library in gcc is actually a copy of upstream sources, so I
> don't think it would be a good idea to make this change. We should stay
> as close to the upstream source as possible.
I figured this was probably the case, hence asking before I did too much
work :-)
It does mean that we will always have to have c++ and c available to
bootstrap. Was one of the goals to remove the need for a host C
compiler?
Meanwhile, I'm working on libdecnumber...
Jerry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gcc-in-cxx] zlib?
2009-07-16 2:25 ` Jerry Quinn
@ 2009-07-16 3:25 ` Ian Lance Taylor
0 siblings, 0 replies; 4+ messages in thread
From: Ian Lance Taylor @ 2009-07-16 3:25 UTC (permalink / raw)
To: Jerry Quinn; +Cc: gcc
Jerry Quinn <jlquinn@optonline.net> writes:
> It does mean that we will always have to have c++ and c available to
> bootstrap. Was one of the goals to remove the need for a host C
> compiler?
No, removing the need for a host C compiler was not a goal.
> Meanwhile, I'm working on libdecnumber...
Actually, that is also based on upstream sources, and should also change
as little as possible.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-16 3:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-16 1:46 [gcc-in-cxx] zlib? Jerry Quinn
2009-07-16 2:08 ` Ian Lance Taylor
2009-07-16 2:25 ` Jerry Quinn
2009-07-16 3:25 ` Ian Lance Taylor
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).