On 02/25/2009, Helmut Brandl wrote:
I use the type "unsigned long long" and "long long" to get 64 bit
integers on gcc.
For reading and writing I use the formatting e.g.
unsigned long long u64;
u64 = ...;
printf("a 64 bit integer %llu\n", u64);
This has worked up to now on all systems u
I'm not sure that I agree with your assements, /usr/lib as always been
available (at least displayed) as a default search path in
'print-search-dirs' even when using the -mno-cygwin switch, but for some
reason, has always been ignored when linking for MinGW.
I think the problem has to do with
Hello,
It's not a flag problem: sometimes when I invoke "make" this problem
happens and the, 1 or 2 seconds after, if I invoke again "make", it
works fine without any modifications. I have never meet this problem
with the preceding version of cygwin. It happened since 1.5.19.
Could it be a tr
Hi,
COLLETTE wrote:
> Hello,
> I've a problem with gcc: sometimes gcc can't find some include files.
> TestSpeedMetric.cpp:46:26: ParetoSoft.hpp: No such file or directory
> TestSpeedMetric.cpp: In function `int main()':
> TestSpeedMetric.cpp:155: error: `ParetoSoft' undeclared (first use this
>
> g++ is in a separate package named gcc-g++, be sure you have installed
> this too. Then you need to link against libstdc++ when using gcc as
> driver:
> gcc -o gtest gtest.cc -lstdc++
> or you use g++ as driver which includes libstdc++ automatically:
> g++ -o gtest gtest.cc
Just want to d
Hello Rainer,
you wrote:
> I've installed the latest version of cygwin (as of today 2.03.04). My PC is
> running Windows 2000 with service pack 4. Installation is done on my loca
> drive d:. I tried a small "C++" and failed, the reason is totally unclear to
> me.
> The program is:
[...]
> The er
The error message is:
$ gcc -o gtest gtest.cc
/cygdrive/c/DOCUME~1/lauerr/LOCALS~1/Temp/ccCmpxzX.o(.text+0x4d):gtest.cc:
undefined reference to `std::ios_base::Init::Init[in-charge]()'
/cygdrive/c/DOCUME~1/lauerr/LOCALS~1/Temp/ccCmpxzX.o(.text+0x68):gtest.cc:
undefined reference to `std::ios_base:
At 11:26 PM 11/23/2003, Nikhil Bhargava you wrote:
>hello Ms. Larry,
That would be more properly phrased as 'Mr. Hall' but I don't require such
formalism. 'Larry' is fine.
>I am thankful for the help. I didnot tried google as i thought i wouldnot be able to
>find this problem. I wil be care
hello Ms. Larry,
I am thankful for the help. I didnot tried google as i thought i wouldnot be able to
find this problem. I wil be careful in future and will go throughthe link you have
quoted.
nikhil
- Original Message -
DATE: Sun, 23 Nov 2003 13:45:00
From: Larry Hall <[EMA
At 12:05 PM 11/23/2003, Nikhil Bhargava you wrote:
>hello friends,
>
>I have installed latest version of cygwin and also set the path accordingly.
>
>But while compiling my C code, I am getting following error
>
>$ gcc timer.c
>/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/
>find -luser32
>collect2: ld ret
On Monday 24 Feb 03, Elfyn McBratney writes:
> > ...
> > and I compile with "gcc -Imy/include/dir sourcefile.c" where
> > String.h lives in my/include/dir.
> >
> > GCC uses my/include/dir/String.h to satisfy the directive.
>
> I just tried this with "check_case:strict" in my CYGWIN environment
>
"David Starks-Browning" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Greetings,
>
> I have a problem which I realise comes from Windows' being
> case-insensitive with filenames. Even so, maybe someone here knows
> how to solve it.
>
> Suppose I have this source file:
>
> #include
> I have a problem which I realise comes from Windows' being
> case-insensitive with filenames. Even so, maybe someone here knows
> how to solve it.
>
> Suppose I have this source file:
>
> #include
> #include "String.h"
>
> int main() {
> // some stuff
> }
>
> and I compile with "gcc -Imy/incl
I didn't program in C for a long time but as far as I remember,
scanf read 1 string using white space as separator.
to enter aaa bbb ccc
you need scanf("%s %s %s", ...) or gets
use gets
or scanf("%s", ..)
followed by
while('\n'!=getchar());
but you loose the extra typed words
hope this helps.
-
handy).
stephan(speaking, of course, only for myself, and not my employer);
-Original Message-
From: Eric R. Krause [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 24, 2002 12:14 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Flushing stdin (was: Re: gcc problem?)
Carlo,
Visual
Carlo,
Visual C++ 6.0 CRT (and AFAICT, that of Visual C++.NET too) allow you to
flush an input stream. The only problem with that is that the C standard
apparently defines flushing ONLY for output streams (sec. 7.9.5.2). Why in
the hell MicroSquash didn't disclose that this behavior was M$-speci
On Thu, 21 Nov 2002 10:46:26 +0800, "Carlo Florendo" <[EMAIL PROTECTED]>
wrote:
>Hello,
>
>Ever since I installed a newer cygwin, I've encountered problems which I
>didn't encounter before. First, there was the
>"ls -l"problem which has not yet been resolved (and which is threaded as "ls
>problem
This is not a bug in Cygwin or Gcc. Scanf("%s", ...) only reads from
the stdin if the input buffer is empty. If you only enter a single word
on the first prompt, then it will wait for you to type the 2nd word. If
Borland produces different results then maybe they are wrong (or simply
different).
Mike, setup is currently bust. I'm working on it right now.
Could you please email me the output of mount?
Cheers,
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:
At 02:59 PM 12/14/2001, gahan wrote:
>when i'm tryin' to compile any file i see: cannot exec `as' or cannot
>create executables.
>is 'as' any file? why i see these errors?
Because you either didn't install it or it didn't install correctly.
Please run setup again and install all compiler rela
20 matches
Mail list logo