Hi,
I've run into a problem passing a string ref to a dll:
testdll.C: (I've tried adding __declspec(dllimport/export) too)
void f(std::string& a) { a = "asdf"; }
test.C:
int main(void) { std::string a; f(a); std::cout << a << std::endl; }
If I compile it with static linking, the program works
Hello,
I tried to compile a simple Hello,world program with gcj. The code was :
public class Welcome {
public static void main( String args[] )
{
System.out.println( "Welcome to Java Programming!" );
}
}
I created Welcome.class with "gcj -C Welcome.java" .then I tried to execute
it
On Tue, Jan 03, 2006 at 11:07:01PM -0500, Larry Hall (Cygwin) wrote:
>My output seems similar to Igor's, though mine is longer :-( (and therefore
>also bzipped) but definitely against the 12/29 snapshot. Hope that helps.
I just generated a new snapshot. Does it behave any differently? If not,
a
>
> Sorry to follow up twice on my own message but, I should have read further
> in the MessageBeep description. It is documented as reverting to the
> system speaker in all cases if the sound could not be played on a sound
> card.
Indeed - on Win98, when I disable the default sound altogether (
indow
>>> running bash (or any other cygwin shell) actually does anything. Can
>>> anyone confirm if this actually plays a beep?
>>
>>My experience with Win98 is that both before and after the patch,
>>snapshots 20051229 and 20060103 12:55:23, the command
&g
indow
>>> running bash (or any other cygwin shell) actually does anything. Can
>>> anyone confirm if this actually plays a beep?
>>
>>My experience with Win98 is that both before and after the patch,
>>snapshots 20051229 and 20060103 12:55:23, the command
&g
Can
>> anyone confirm if this actually plays a beep?
>
>My experience with Win98 is that both before and after the patch,
>snapshots 20051229 and 20060103 12:55:23, the command
>"printf '\a%1000s\a' 1" produced two tweets on the motherboard
>speaker (which
ith Win98 is that both before and after the patch,
snapshots 20051229 and 20060103 12:55:23, the command
"printf '\a%1000s\a' 1" produced two tweets on the motherboard
speaker (which is rather faint to hear since I keep my box underneath
the desk), rather than playing a .wav fil
[snip]
> >I must have missed something - did "MessageBeep(-1)" never
> get put in?
> >Or did it stop working? MSDN still documents it as working even
> >without a sound card.
>
> It got put in but it didn't work for everyone. And, for some
> people, like me, it worked for a while and then s
Christopher Faylor wrote:
On Fri, Dec 30, 2005 at 01:27:11AM -0500, Christopher Faylor wrote:
On Tue, Dec 27, 2005 at 11:38:46PM -0600, Tom Rodman wrote:
Does the strace log hint at a solution? Is there any other test I
might try that would help you debug this?
The latest snapshot has bett
n murthy wrote:
Hi
I have a query as
how to port my entire test building environment on cygwin (windows) to
solaris or linux
that is i want to know the procedure as to
transfer whole test environment on windows cygwin to linux or solaris
i want to know where to post my query as i am frust
Bernhard Ege wrote:
--
It's lonely at the top, but you eat better.
I use my getip.sh script (windows xp):
#!/bin/bash
# find default gateways
# select the one with the lowest metric
ip=`route print | egrep "^ +0.0.0.0 +0.0.0.0 +" | gawk 'BEGIN {
metric=255; ip="0.0.0.0"; } { if ( $5 < metric )
Ingo Brueckl wrote:
Christopher Faylor wrote:
The above would indicate that you don't actually have cygwin installed
since there is nothing in your mount table and no packages listed. So,
this doesn't really help.
It was from the cygwin-free W98 machine. Here is the output from the PC with
"McCann, Brian" wrote:
> Hi all. I've been fighting this for some time now, and I can't find a
> solid fix to make this work. I'm running Cygwin under Windows 2000, and
> I'm trying to setup ssh using key authentication. The auth part works
> fine, but when I try to run commands that require ri
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message
Bernt Guldbrandtsen wrote:
> t/signature. 4 [main] gpg 2212 fixup_mmaps_after_fork: WARNING:
> VirtualProtectEx to return to previous state in parent failed for
> MAP_PRIVATE address 0x18A1
On Tue, Jan 03, 2006 at 08:09:43PM -0500, Christopher Faylor wrote:
>That seems to be a kernel that you built yourself rather than a snapshot,
dll
>is that correct? Can I assume that this is up-to-date with CVS?
Sorry. Wrong "job".
cgf
--
Unsubscribe info: http://cygw
On Tue, Jan 03, 2006 at 07:51:25PM -0500, Igor Peshansky wrote:
>On Tue, 3 Jan 2006, Christopher Faylor wrote:
>
>> On Fri, Dec 30, 2005 at 01:27:11AM -0500, Christopher Faylor wrote:
>> >On Tue, Dec 27, 2005 at 11:38:46PM -0600, Tom Rodman wrote:
>> >>Does the strace log hint at a solution? Is th
On Tue, Jan 03, 2006 at 06:24:44PM -0600, Gary R. Van Sickle wrote:
>[snip]
>> >CMD.EXE still issues an actual beep (PC-beeper-beep) when I type
>> >
>> > echo ^G (literal control g)
>> >
>> >(This is using CMD's built-in echo).
>> >
>> >bash and tcsh now emit a "ding" instead, for the same comm
On Tue, 3 Jan 2006, Christopher Faylor wrote:
> On Fri, Dec 30, 2005 at 01:27:11AM -0500, Christopher Faylor wrote:
> >On Tue, Dec 27, 2005 at 11:38:46PM -0600, Tom Rodman wrote:
> >>Does the strace log hint at a solution? Is there any other test I
> >>might try that would help you debug this?
>
[snip]
> >CMD.EXE still issues an actual beep (PC-beeper-beep) when I type
> >
> > echo ^G (literal control g)
> >
> >(This is using CMD's built-in echo).
> >
> >bash and tcsh now emit a "ding" instead, for the same command (using
> >shell builtins).
> >
> >(I guess I'm wondering if this is to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vijay Kiran Kamuju wrote:
> i am unable to compile imlib2-1.2.1 with cygwin 1.5.18,
> binutils-20050610 and gcc-3.4.4-1
The Cygwin Ports packages contains an imlib2 package:
ftp://sunsite.dk/projects/cygwinports/
Please try this package and let me k
Hi
I have a query as
how to port my entire test building environment on cygwin (windows) to
solaris or linux
that is i want to know the procedure as to
transfer whole test environment on windows cygwin to linux or solaris
i want to know where to post my query as i am frustated
when i put t
Christopher Faylor wrote:
> The above would indicate that you don't actually have cygwin installed
> since there is nothing in your mount table and no packages listed. So,
> this doesn't really help.
It was from the cygwin-free W98 machine. Here is the output from the PC with
cygwin installed (bu
Christopher Faylor writes:
> Can anyone confirm if this actually plays a beep?
Windows 98SE here. Unfortunately, since I have the soundcard, my console beep
has become a kind of crackle, but I can confirm that it crackles with
echo -e "\007"
as well as with MessageBeep (-1) using the program
It seems that the GPL Ghostscript 8.50 version is released
(http://www.cs.wisc.edu/~ghost/doc/GPL/gpl850.htm).
Will the cygwin version of ghostscript (now 8.15) be updated?
Cheers,
Angelo.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://
On Fri, Dec 30, 2005 at 01:27:11AM -0500, Christopher Faylor wrote:
>On Tue, Dec 27, 2005 at 11:38:46PM -0600, Tom Rodman wrote:
>>Does the strace log hint at a solution? Is there any other test I
>>might try that would help you debug this?
>
>The latest snapshot has better strace capabilities. R
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nils Kehr wrote:
> whenever i try to use the netpbm program "pnmtopng" i just get
> a segmentation fault (see attachment).
>
> $ pnmtopng My.ppm > My.png
>
> The .ppm is well-defined (conversion to other formats possible).
> I can provide a ppm image
On Tue, Jan 03, 2006 at 02:39:51PM -0800, Shankar Unni wrote:
>Christopher Faylor wrote:
>
>>http://www.cygwin.com/ml/cygwin/2003-05/msg01615.html
>
>So I just installed snapshot 20060103. I'm running WinXP SP2.
>
>Before I installed the snapshot, I didn't have
On Tue, Jan 03, 2006 at 11:38:00PM +0100, Ingo Brueckl wrote:
>In the meantime I could reproduce the bug (which was described the first time
>in http://www.cygwin.com/ml/cygwin/2005-09/msg00058.html and then in
>http://www.cygwin.com/ml/cygwin/2005-12/msg01038.html) on a Windows 98SE PC
>which neve
An observation which should help.
See http://www.cygwin.com/ml/cygwin/2005-12/msg01037.html for the problem. As
said, COMSPEC is set:
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND
COMSPEC=C:\WINDOWS\COMMAND.COM
DIRCMD=/
In the meantime I could reproduce the bug (which was described the first time
in http://www.cygwin.com/ml/cygwin/2005-09/msg00058.html and then in
http://www.cygwin.com/ml/cygwin/2005-12/msg01038.html) on a Windows 98SE PC
which never had anything to do with cygwin before and where I only copied th
Christopher Faylor wrote:
http://www.cygwin.com/ml/cygwin/2003-05/msg01615.html
So I just installed snapshot 20060103. I'm running WinXP SP2.
Before I installed the snapshot, I didn't have that
...\Apps\.Default\.Default key at all, and the beep apparently still
worked for CMD. N
Neither Corinna nor I have a real machine running Windows 98 any more
so we can't easily test to see if echoing a CTRL-G to a console window
running bash (or any other cygwin shell) actually does anything. Can
anyone confirm if this actually plays a beep?
A worrying note is that I get a sound in
Eric said:
>According to Tom Plunket on 12/23/2005 11:48 PM:
>>
>>SHELL_CMD="-l -c \\\"cd '%L'; exec $SHELL_EXE\\\""
>>
>> As you can see, this is clearly "wrong" for folders with a
>> single-quote mark in them.
>>
>> My local fix was just to edit the registry and change '%L' to "%L".
>>
> -Original Message-
> From: Bakken, Luke [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 03, 2006 14:43
> To: McCann, Brian
> Subject: RE: Using sshd on Windows 2000 with public keys
>
> McCann, Brian wrote:
> > Hi all. I've been fighting this for some time now, and I
> can't find a
On Tue, 3 Jan 2006, Christopher Faylor wrote:
> On Tue, Jan 03, 2006 at 02:12:13PM -0500, Igor Peshansky wrote:
> >FWIW, this will only work on WinXP. Win2k uses 'ding.wav' instead.
> >'ding.wav' is also present on XP, so as a catch-all solution, using that
> >may be better.
>
> Maybe you should
On Tue, 3 Jan 2006, Christopher Faylor wrote:
> On Tue, Jan 03, 2006 at 02:12:13PM -0500, Igor Peshansky wrote:
> >FWIW, this will only work on WinXP. Win2k uses 'ding.wav' instead.
> >'ding.wav' is also present on XP, so as a catch-all solution, using that
> >may be better.
>
> Maybe you should
Hi all. I've been fighting this for some time now, and I can't find a
solid fix to make this work. I'm running Cygwin under Windows 2000, and
I'm trying to setup ssh using key authentication. The auth part works
fine, but when I try to run commands that require rights inside Windows,
it fails (l
> If you don't care /which/ one, you can just hard-code
> "127.0.0.1" ;-) but I
> think that's probably not the answer you're looking for.
>
> You may need to parse the output from the windows "ipconfig /all".
>
> cheers,
> DaveK
While it is almost always more useful to use
"Ipco
On Tue, Jan 03, 2006 at 02:12:13PM -0500, Igor Peshansky wrote:
>FWIW, this will only work on WinXP. Win2k uses 'ding.wav' instead.
>'ding.wav' is also present on XP, so as a catch-all solution, using that
>may be better.
Maybe you should have checked on the current state of the sources before
se
On Mon, 2 Jan 2006, Christopher Faylor wrote:
> I've just built a cygwin snapshot which should work around a problem
> with Cygwin's default bell not working. This was discussed here a while
> ago:
>
> http://www.cygwin.com/ml/cygwin/2004-03/threads.html#00895
> http://www.cygwin.com/ml/cygwin/20
Alex Vinokur wrote:
What is Cygwin utility to get IP address of the machine?
I use my getip.sh script (windows xp):
#!/bin/bash
# find default gateways
# select the one with the lowest metric
ip=`route print | egrep "^ +0.0.0.0 +0.0.0.0 +" | gawk 'BEGIN {
metric=255; ip="0.0.0.0"; } { if ( $
Alex Vinokur wrote:
> What is Cygwin utility to get IP address of the machine?
A machine can have many IP addresses, one for each network interface.
If you don't care /which/ one, you can just hard-code "127.0.0.1" ;-) but I
think that's probably not the answer you're looking for.
You may
What is Cygwin utility to get IP address of the machine?
--
Alex Vinokur
email: alex DOT vinokur AT gmail DOT com
http://mathforum.org/library/view/10978.html
http://sourceforge.net/users/alexvn
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem report
jd list wrote:
I'm running cygwin on W2K3 with php built into windows via the binary
from php.net.
I run php scripts, via cron, at freqent intervals, one is a simple
database script that copies data from a back-end database to a
front-end database, which has been running fine within cron for man
I'm running cygwin on W2K3 with php built into windows via the binary
from php.net.
I run php scripts, via cron, at freqent intervals, one is a simple
database script that copies data from a back-end database to a
front-end database, which has been running fine within cron for many
many months. -
I'm having a problem with a DLL built from CVS on 20060102 (before
the beep fix). Actually, it's been happening for a while, but I just
tracked down how to reproduce it.
The problem is that ssh and cron are both popping up console
windows. The ssh daemon does it when someone logs in and the cron
d
On Mon, 2 Jan 2006, Lapo Luchini wrote:
> Corinna Vinschen writes:
> > On Dec 30 17:23, Brett Serkez wrote:
> > > I have rsync working over ssh on Cygwin.
> >
> > Me too. I'm using the standard version of rsync, so I guess the
> > socketpair call is still in use.
>
> I never managed to reprod
On Tue, 3 Jan 2006, Ismael Valladolid Torres wrote:
> I am trying to get a managed mount in order to store a
> maildir. However it looks like I'm missing something:
>
> $ mkdir "D:\Mail"
> $ mkdir /Mail
> $ mount -o managed "D:\Mail" /Mail
> mount: /Mail: Permission denied
Judging by the prompt,
On Tue, Jan 03, 2006 at 05:20:51PM +0100, Ismael Valladolid Torres wrote:
>I am trying to get a managed mount in order to store a
>maildir. However it looks like I'm missing something:
>
>$ mkdir "D:\Mail"
>$ mkdir /Mail
>$ mount -o managed "D:\Mail" /Mail
>mount: /Mail: Permission denied
>
>I don'
I am trying to get a managed mount in order to store a
maildir. However it looks like I'm missing something:
$ mkdir "D:\Mail"
$ mkdir /Mail
$ mount -o managed "D:\Mail" /Mail
mount: /Mail: Permission denied
I don't understand why I could create de directory but not mount over
it. Moreover which
Vijay Kiran Kamuju wrote:
hi ,
i am unable to compile imlib2-1.2.1 with cygwin 1.5.18,
binutils-20050610 and gcc-3.4.4-1
first i was unable compile due to missing RTLD_LOCAL in the /usr/include/dlfcn.h
could you please add the following line to dlfcn.h
#define RTLD_LOCAL 0
after that the comp
> > On the ZoneLabs message boards I found references to use of tcsh in
> > place of bash, that seems to work around the problem as follows:
> >
>
> I wonder what the difference is between bash and tcsh that gives rise to
> that idea. Your choice of shell shouldn't affect your CPU usage; and if
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 1/3/2006 7:09 AM:
>
> I'll investigate; for what it's worth, I'm not even seeing the duplication
> in the (no longer available) 5.93-1, although the only thing that changed
> between -1 and -2 was recompilation to pick up br
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[No need to carbon me on original emails - I read the list for a reason]
According to Angelo Graziosi on 1/3/2006 4:56 AM:
> With coreutils-5.3.0-9 I observe:
>
> ---
> $ ls -lrta
...
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Brett Serkez on 1/1/2006 1:01 PM:
>
> On the ZoneLabs message boards I found references to use of tcsh in
> place of bash, that seems to work around the problem as follows:
>
I wonder what the difference is between bash and tcsh that gi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Linda A. Walsh on 12/31/2005 8:41 PM:
> I ran into this problem using "find".
> Ran into an odd problem where directories, in my root
> directory, above entry 39-40 are not being examined. It
> seems to be positionally related, but, impor
On Tue, 3 Jan 2006, Brett Serkez wrote:
> To change the X-Startup scripts for Cygwin, look in the directory
> /usr/X11R6/bin for the scripts startxwin.bat and/or startxwin.sh,
> depending on which you use.
>
> The line you want to edit is:
>
> XWin -multiwindow -clipboard -silent-dup-error &
>
> o
On Jan 3 13:40, Ville Herva wrote:
> On Sun, Jan 01, 2006 at 04:36:41PM +0200, you [Ville Herva] wrote:
> > http://www.dll-files.com/dllindex/index-c.shtml
> >
> > The same old story, if anybody's interested.
> >
> > Tried to email them via the contact form - haven't heard back.
>
> They mailed
Hi *,
whenever i try to use the netpbm program "pnmtopng" i just get
a segmentation fault (see attachment).
$ pnmtopng My.ppm > My.png
The .ppm is well-defined (conversion to other formats possible).
I can provide a ppm image if necessary. Thanks in advance!
Regards, Nils.
--
..at least I tho
To change the X-Startup scripts for Cygwin, look in the directory
/usr/X11R6/bin for the scripts startxwin.bat and/or startxwin.sh,
depending on which you use.
The line you want to edit is:
XWin -multiwindow -clipboard -silent-dup-error &
or
%RUN% XWin -multiwindow -clipboard -silent-dup-error
With coreutils-5.3.0-9 I observe:
---
$ ls -lrta
total 191
-rw-r--r-- 1 Administrator Administrators 201 Aug 18 22:41
test-strerror.c
-rwxr-xr-x 1 Administrator Administrators 8988 Aug 18 22:42
test-strerror.exe
-rw-r--r-- 1
On Sun, Jan 01, 2006 at 04:36:41PM +0200, you [Ville Herva] wrote:
> http://www.dll-files.com/dllindex/index-c.shtml
>
> The same old story, if anybody's interested.
>
> Tried to email them via the contact form - haven't heard back.
They mailed back and said they have added the source code on th
Hallo Vijay,
Am Dienstag, 3. Januar 2006 um 05:59 schriebst du:
> Hi,
> I see that there is no gtk+2.pc for the gtk+2 for cygwin.
It is in /usr/lib/pkgconfig/, name is gtk+-2.0.pc.
> and also that the header files and library files for the gtk+2 are in
> /usr/include/gtk+2/2.4.0 and /usr/lib/g
hi ,
i am unable to compile imlib2-1.2.1 with cygwin 1.5.18,
binutils-20050610 and gcc-3.4.4-1
first i was unable compile due to missing RTLD_LOCAL in the /usr/include/dlfcn.h
could you please add the following line to dlfcn.h
#define RTLD_LOCAL 0
after that the compilation failed while compili
65 matches
Mail list logo