Hello,
I just installed mingw-gcc-4.7.3 on top of my cygwin installation.
Trying to build a library that needs openssl lib, I get undefined references to
__errno and __getreent from this library.
- I understood those variables are from cygwin1.dll, is it correct?
- does this mean that I shoul
On Mar 28 13:48, Roy wrote:
> On Fri, 28 Mar 2014 11:40:49 +0800, Eric Blake wrote:
>
> >On 03/27/2014 07:29 PM, Roy wrote:
> >>Hello list,
> >>
> >>I wonder why lseek(SEEK_CUR) on open(O_RDWR) fails with errno=22, the
> >>code works on Linux:
> >>
> >>#include
> >>#include
> >>#include
> >>#i
From: Corinna Vinschen
> It doesn't matter what you use, it matters what the function expects.
> lseek expects off_t per POSIX:
>
> http://pubs.opengroup.org/onlinepubs/9699919799/functions/lseek.html
>
> and off_t is defined as 64 bit type.
After adding the missing unistd.h and return statement
On 03/28/2014 06:53 AM, Nellis, Kenneth wrote:
> x.c:12:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2
> has type ‘off_t’ [-Wformat=]
>
> So, then, after changing %d to %lld, gcc -Wall -pedantic complains:
My advice: You usually do NOT want to compile with -pedantic. Tha
On 3/28/2014 17:00, ton...@free.fr wrote:
> Hello,
> I just installed mingw-gcc-4.7.3 on top of my cygwin installation.
>
> Trying to build a library that needs openssl lib, I get undefined references
> to __errno and __getreent from this library.
> - I understood those variables are from cygw
On 03/28/2014 07:05 AM, Eric Blake wrote:
> If you want to use %lld, you have to use C99, not C89; use gcc -std=c99
> or gcc -std=gnu99. By omitting -std, you got gcc's default, which for
> now is still -std=c89.
Or more precisely:
'gcc' is short for 'gcc -std=gnu89'
'gcc -pedantic' is short for
Hi,
I'm having an issue with Cygwin SSHD and would like to set it up with
more debugging, but it needs to still be running in debug mode after a
reboot.
Anyone have any suggestions on how to best go about that?
Thanks,
Curtis.
--
Problem reports: http://cygwin.com/problems.html
FAQ:
On 3/28/2014 1:00 PM, Curtis wrote:
Hi,
I'm having an issue with Cygwin SSHD and would like to set it up with
more debugging, but it needs to still be running in debug mode after a
reboot.
Anyone have any suggestions on how to best go about that?
You can either alter the parameters of your cu
Nellis, Kenneth wrote:
>So, then, after changing %d to %lld, gcc -Wall -pedantic complains:
>
>x.c: In function main:
>x.c:12:2: warning: ISO C90 does not support the ll gnu_printf length
>modifier [-Wformat=]
> printf("pos = %lld\n",lseek(f, 0l, SEEK_CUR));
> ^
>x.c:12:2: warning: ISO C90 d
On Fri, Mar 28, 2014 at 2:05 PM, Eric Blake wrote:
> On 03/28/2014 06:53 AM, Nellis, Kenneth wrote:
>> x.c:12:2: warning: format '%d' expects argument of type 'int', but argument
>> 2 has type 'off_t' [-Wformat=]
>>
>> So, then, after changing %d to %lld, gcc -Wall -pedantic complains:
>
> My adv
Hi, I was recently installing Boltztrap (a code used to analyze and predict
the transport properties of quantum simulation codes in materials) on cygwin,
and ran into a small problem. Basically, the x_trans shell script which is
called to run the program was not working. I was getting an error,
Hi,
I need to kill a process in a way that CYGWIN's own kill utility does
with an option -f, and for that, given CYGWIN's PID, I need to figure
out native Windows PID of the victim.
kill does basically the following (I simplified):
p = (external_pinfo *) cygwin_internal (CW_GETPINFO_FULL, pid);
Hello List,
I wonder, if there any special setup was necessary to make coredumps non-empty.
When my program crashes it leaves only the following:
Stack trace:
Frame Function Args
despite is was built and linked with -g (so should have all the debugging info
intact). I did not modify any s
13 matches
Mail list logo