public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Plans for fixing libio on i386-linux-gnulibc1?
@ 1997-09-26 23:25 Hugh W. Holbrook
  1997-09-28  0:34 ` Mumit Khan
  0 siblings, 1 reply; 7+ messages in thread
From: Hugh W. Holbrook @ 1997-09-26 23:25 UTC (permalink / raw)
  To: khan; +Cc: egcs

I solved these problems for egcs-970917 on my linux/i386 system by
applying HJ Lu's libio patches and by installing libc-5.4.39 before
building egcs.  The patched version of egcs-970917 built a libstdc++
that seems to work fine and allows you to use the cstdio stuff, as well.

HJ Lu's patch to 970917 is available at 
ftp://ftp.yggdrasil.com/private/hjl/egcs-970917.io.diff.gz 

-Hugh

>Joe Buck  writes:
>> It appears that this can be done just by editing libio/config/linux.mt
>> (or linuxlibc1.mt) and following the directions under
>> 
>> # Comment this out to avoid including the stdio functions in libiostream.a:
>> 
>> It appears that it would be experimental, but hey, we're egcs.
>
>I of course tried that before posting my query ... looks like the new libio 
>code includes a few functions older libio didn't have (libc v5.3.12). I now 
>get something like the following when linking trival program containing
>say fputs():
>
>  libstdc++.so: undefined reference to `_IO_outfloat'
>  libstdc++.so: undefined reference to `_IO_getc'
>  libstdc++.so: undefined reference to `_IO_peekc_locked'
>  libstdc++.so: undefined reference to `_IO_putc'
>
>
>Mumit

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Plans for fixing libio on i386-linux-gnulibc1?
@ 1997-09-26 17:01 Mumit Khan
  1997-09-26 17:14 ` Joe Buck
  1997-09-26 21:05 ` Jeffrey A Law
  0 siblings, 2 replies; 7+ messages in thread
From: Mumit Khan @ 1997-09-26 17:01 UTC (permalink / raw)
  To: egcs

What's the current forecast for a working libio under i386-linux? It
seems to work ok for C, but useless for C++ + cstdio (bugs have been 
reported already, so I wouldn't repeat those here).

I notice that libio has the new Ulrich stuff, so is it just a matter of
manually "fixing" _G_CONFIG_H to make things work?

If it's not obvious already, I'm a clueless libio newbie ;-)

Regards,
Mumit -- khan@xraylith.wisc.edu
http://www.xraylith.wisc.edu/~khan/


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

end of thread, other threads:[~1997-09-28  0:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-26 23:25 Plans for fixing libio on i386-linux-gnulibc1? Hugh W. Holbrook
1997-09-28  0:34 ` Mumit Khan
1997-09-28  0:51   ` Jeffrey A Law
  -- strict thread matches above, loose matches on Subject: below --
1997-09-26 17:01 Mumit Khan
1997-09-26 17:14 ` Joe Buck
1997-09-26 17:28   ` Mumit Khan
1997-09-26 21:05 ` Jeffrey A Law

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