On 11/14/2013 01:34, André Guerreiro wrote:
> Hello all,
> sorry if this is a really basic question, I'm a MingW newbie.
>
> I'm trying to build this code with Mingw-w64 4.6.3
>
> #include
>
> int main()
> {
> FILE *fp = fopen("SOME_FILE", "r");
> _lock_file(fp);
> return 0;
>
> }
>
>
Here's the code for using named and unnamed semaphores in Mingw-w64. The
only function I have not tested (but looks OK now) is _sem_timedwait().
Code is included in libtubo release 5.0.12 (http://xffm.org/libtubo.html)
with GPLV3, so if it is of any use, feel free to use it. I've prepared
Mingw-w6
I unify my windows home with my MSYS2 homes using mklink /D so that
e.g. C:\msys32\home\ray is a symlink to C:\Users\ray .. I haven't run
into any problems with this recently. msysgit didn't used to like
cloning to a folder within a symlink folder, but MSYS2 git is fine
with it.
Of course you'd ne
14 нояб. 2013 г., в 0:56, Jon написал(а):
>
> Jon@Black ~
> $ cd ~
>
> Jon@Black /home/Jon
> $ pwd
> /home/Jon
>
> Sorry, the above is not correct in the default case. The correct version is:
>
> Jon@Black ~
> $ cd ~
> -bash: cd: /home/Jon: No such file or directory
>
> Jon@Black ~
> $ pwd
On Wed, Nov 13, 2013 at 3:53 PM, Alexpux wrote:
>
> 14 нояб. 2013 г., в 0:48, Jon написал(а):
>
>
> On Wed, Nov 13, 2013 at 3:36 PM, Alexpux wrote:
>
>>
>> 14 нояб. 2013 г., в 0:31, Jon написал(а):
>>
>> I'm an old cygwin user who went astray years ago and would like to
>> confirm my MSYS2 set
> Jon@Black ~
> $ cd ~
>
> Jon@Black /home/Jon
> $ pwd
> /home/Jon
>
Sorry, the above is not correct in the default case. The correct version is:
Jon@Black ~
$ cd ~
-bash: cd: /home/Jon: No such file or directory
Jon@Black ~
$ pwd
/c/Users/Jon
My earlier experiments with HOME in msys2_shell.bat
14 нояб. 2013 г., в 0:48, Jon написал(а):
>
> On Wed, Nov 13, 2013 at 3:36 PM, Alexpux wrote:
>
> 14 нояб. 2013 г., в 0:31, Jon написал(а):
>
>> I'm an old cygwin user who went astray years ago and would like to confirm
>> my MSYS2 setup.
>>
>> Here's what I'm doing to have a sandboxed st
On Wed, Nov 13, 2013 at 3:36 PM, Alexpux wrote:
>
> 14 нояб. 2013 г., в 0:31, Jon написал(а):
>
> I'm an old cygwin user who went astray years ago and would like to confirm
> my MSYS2 setup.
>
> Here's what I'm doing to have a sandboxed style setup that isolates my
> normal windows setup. For ex
14 нояб. 2013 г., в 0:31, Jon написал(а):
> I'm an old cygwin user who went astray years ago and would like to confirm my
> MSYS2 setup.
>
> Here's what I'm doing to have a sandboxed style setup that isolates my normal
> windows setup. For example, I don't want MSYS2's default /etc/profile to
I'm an old cygwin user who went astray years ago and would like to confirm
my MSYS2 setup.
Here's what I'm doing to have a sandboxed style setup that isolates my
normal windows setup. For example, I don't want MSYS2's default
/etc/profile to think HOME is C:\Users\Jon. I want it to think HOME is
%
Hello all,
sorry if this is a really basic question, I'm a MingW newbie.
I'm trying to build this code with Mingw-w64 4.6.3
#include
int main()
{
FILE *fp = fopen("SOME_FILE", "r");
_lock_file(fp);
return 0;
}
Using the following command:
/usr/bin/i686-w64-mingw32-gcc -o hello.exe hel
> 2013/11/12 Martin Mitáš :
>>
>> Hi all,
>>
>> I've been resolving some strange issues with resources ([1]). Although I
>> did not succeed so far, I've spent some time in hex editor and reading
>> objdump -s output (not much fun). My analyzes has exhibited some
>> differences in how windres and Mi
On Tue, Nov 12, 2013, Corinna Vinschen wrote:
> On Nov 12 22:52, Óscar Fuentes wrote:
> > Corinna Vinschen
> > writes:
> >
> > > On Nov 12 13:59, Óscar Fuentes wrote:
> > >>
> > >> $ du -sh /lib/git-core
> > >> 13M /lib/git-core
> > >>
> > >> Windows Explorer says that d:/msys32/lib/git-cor
2013/11/12 Martin Mitáš :
>
> Hi all,
>
> I've been resolving some strange issues with resources ([1]). Although I
> did not succeed so far, I've spent some time in hex editor and reading
> objdump -s output (not much fun). My analyzes has exhibited some
> differences in how windres and Microsoft's
2013/11/13 Corinna Vinschen
> On Nov 12 22:52, Óscar Fuentes wrote:
> > Corinna Vinschen
> > writes:
> >
> > > On Nov 12 13:59, Óscar Fuentes wrote:
> > >>
> > >> $ du -sh /lib/git-core
> > >> 13M /lib/git-core
> > >>
> > >> Windows Explorer says that d:/msys32/lib/git-core uses 169 MB.
> Ob
15 matches
Mail list logo