public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: open_memstream
@ 2008-02-20 21:52 bargav yaarov
  2008-02-21  0:31 ` open_memstream Eric Blake
  0 siblings, 1 reply; 5+ messages in thread
From: bargav yaarov @ 2008-02-20 21:52 UTC (permalink / raw)
  To: Eric Blake, cygwin



----- Original Message ----
> From: Eric Blake <ebb9@byu.net>
> To: cygwin@cygwin.com; byaarov@yahoo.com
> Sent: Wednesday, February 20, 2008 12:03:09 PM
> Subject: Re: open_memstream
> 
> -----BEGIN
> 
PGP
> 
SIGNED
> 
MESSAGE-----
> Hash:
> 
SHA1
> 
> According
> 
to
> 
bargav
> 
yaarov
> 
on
> 
2/20/2008
> 
12:52
> 
PM:
> |
> 
Hi,
> |
> 
I
> 
use
> 
open_memstream
> 
in
> 
my
> 
program
> 
and
> 
noticed
> 
that
> 
this
> 
is
> 
not
> available
> 
in
> 
cygwin. 
> 
Is
> 
there
> 
a
> 
way
> 
I
> 
can
> 
get
> 
this
> 
support
> 
for
> 
cygwin?
> 
> Hmm. 
> 
I
> 
added
> 
it
> 
(and
> 
fmemopen)
> 
to
> 
newlib
> 
several
> 
months
> 
ago,
> 
but
> 
no
> 
one
> ever
> 
added
> 
it
> 
to
> 
cygwin.din,
> 
so
> 
it
> 
currently
> 
is
> 
not
> 
available
> 
in
> 
cygwin.
> But
> 
even
> 
if
> 
someone
> 
makes
> 
that
> 
change,
> 
you'd
> 
still
> 
have
> 
to
> 
use
> 
a
> 
snapshot
> or
> 
wait
> 
for
> 
the
> 
release
> 
of
> 
cygwin
> 
1.7.0. 
> 
Meanwhile,
> 
you
> 
can
> 
look
> 
at
> autogen,
> 
which
> 
provides
> 
a
> 
user-space
> 
open_memstream
> 
work-alike,
> 
and
> compile
> 
that
> 
into
> 
your
> 
program.
> 

Thank you Eric.  I will take a look at autogen (Googling for this returns many many results... do you have a specific pointer?)

Also, is cygwin.din something that I can modify locally myself and get this to work if the support is already there but just not exposed?

> -
> 
--
> Don't
> 
work
> 
too
> 
hard,
> 
make
> 
some
> 
time
> 
for
> 
fun
> 
as
> 
well!
> 
> Eric
> 
Blake 
> 
 
> 
 
> 
 
> 
 
> 
 
> 
 
> 
ebb9@byu.net
> -----BEGIN
> 
PGP
> 
SIGNATURE-----
> Version:
> 
GnuPG
> 
v1.4.5
> 
(Cygwin)
> Comment:
> 
Public
> 
key
> 
at
> 
home.comcast.net/~ericblake/eblake.gpg
> Comment:
> 
Using
> 
GnuPG
> 
with
> 
Mozilla
> 
-
> 
http://enigmail.mozdev.org
> 
> iD4DBQFHvId984KuGfSFAYARApmqAJiemj1YGm6CFHYyth27Q1z8O5ImAJkBPkI4
> sg5WPyLPd5F2OLB23eLfUA==
> =1Un7
> -----END
> 
PGP
> 
SIGNATURE-----
> 




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: open_memstream
  2008-02-20 21:52 open_memstream bargav yaarov
@ 2008-02-21  0:31 ` Eric Blake
  2008-02-21  1:06   ` open_memstream Dave Korn
  0 siblings, 1 reply; 5+ messages in thread
From: Eric Blake @ 2008-02-21  0:31 UTC (permalink / raw)
  To: cygwin

bargav yaarov <byaarov <at> yahoo.com> writes:

> 
> 
> ----- Original Message ----
> > From: Eric Blake <ebb9 <at> byu.net>
                          ^^^^^^

WHOA!  Fix your mailer!  At the very least, don't quote raw email addresses: 
http://cygwin.com/acronyms/#PCYMTNQREAIYR 

but your word wrapping leaves much to be desired.

> 
> Thank you Eric.  I will take a look at autogen (Googling for this returns 
many many results... do you have a
> specific pointer?)

http://www.gnu.org/software/autogen/

Full autogen won't work on cygwin at the moment (at least, not unless you 
recompile libguile with a fixed gcc).  But the source to the open_memstream 
drop-in should be easy enough to isolate, and doesn't run into the broken 
libguile dependency.

> 
> Also, is cygwin.din something that I can modify locally myself and get this 
to work if the support is already
> there but just not exposed?

Yes - just add an entry to winsup/cygwin/cygwin.din and recompile cygwin 
yourself, according to these instructions: 
http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin

-- 
Eric Blake



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* RE: open_memstream
  2008-02-21  0:31 ` open_memstream Eric Blake
@ 2008-02-21  1:06   ` Dave Korn
  0 siblings, 0 replies; 5+ messages in thread
From: Dave Korn @ 2008-02-21  1:06 UTC (permalink / raw)
  To: cygwin

On 20 February 2008 21:20, Eric Blake wrote:

> bargav yaarov <byaarov <at> yahoo.com> writes:
>> 
>> ----- Original Message ----
>>> From: Eric Blake <ebb9 <at> byu.net>
>                           ^^^^^^
> 
> WHOA!  Fix your mailer!  At the very least, don't quote raw email addresses:
> http://cygwin.com/acronyms/#PCYMTNQREAIYR
> 
> but your word wrapping leaves much to be desired.

  I think that particular wrap-one-word-per-line weirdness is a known "issue"
with the Yahoo webmail.

>> Thank you Eric.  I will take a look at autogen (Googling for this returns
> many many results... do you have a
>> specific pointer?)
> 
> http://www.gnu.org/software/autogen/
> 
> Full autogen won't work on cygwin at the moment (at least, not unless you
> recompile libguile with a fixed gcc).  

  You can download a working build from

http://rapidshare.com/files/85998958/autogen-5.9.4-0-strip.tar.bz2

- that's a cygwin package-style tarball, just move it to the root dir "/" and
run "tar xvjf autogen-5.9.4-0-strip.tar.bz2" and all the files should drop
into the right place -

and you'll need the rebuilt libguile dll to make it work too:

http://rapidshare.com/files/87008759/cygguile-17.dll.tar.bz2

- that one's just a DLL, run "tar xvjf" on it anywhere and move the resulting
cygguile-17.dll to /bin.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* Re: open_memstream
  2008-02-20 21:20 open_memstream bargav yaarov
@ 2008-02-20 21:32 ` Eric Blake
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Blake @ 2008-02-20 21:32 UTC (permalink / raw)
  To: cygwin, byaarov

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to bargav yaarov on 2/20/2008 12:52 PM:
| Hi,
| I use open_memstream in my program and noticed that this is not
available in cygwin.  Is there a way I can get this support for cygwin?

Hmm.  I added it (and fmemopen) to newlib several months ago, but no one
ever added it to cygwin.din, so it currently is not available in cygwin.
But even if someone makes that change, you'd still have to use a snapshot
or wait for the release of cygwin 1.7.0.  Meanwhile, you can look at
autogen, which provides a user-space open_memstream work-alike, and
compile that into your program.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFHvId984KuGfSFAYARApmqAJiemj1YGm6CFHYyth27Q1z8O5ImAJkBPkI4
sg5WPyLPd5F2OLB23eLfUA==
=1Un7
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

* open_memstream
@ 2008-02-20 21:20 bargav yaarov
  2008-02-20 21:32 ` open_memstream Eric Blake
  0 siblings, 1 reply; 5+ messages in thread
From: bargav yaarov @ 2008-02-20 21:20 UTC (permalink / raw)
  To: cygwin

Hi,
I use open_memstream in my program and noticed that this is not available in cygwin.  Is there a way I can get this support for cygwin?


Thanks
B




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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

end of thread, other threads:[~2008-02-20 21:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-20 21:52 open_memstream bargav yaarov
2008-02-21  0:31 ` open_memstream Eric Blake
2008-02-21  1:06   ` open_memstream Dave Korn
  -- strict thread matches above, loose matches on Subject: below --
2008-02-20 21:20 open_memstream bargav yaarov
2008-02-20 21:32 ` open_memstream Eric Blake

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