[Tinycc-devel] tcc 0.9.25 doesn't set the execution bit if the executable is overwritten

2010-04-13 Thread Vincent Lefevre
tcc 0.9.25 doesn't set the execution bit if the executable is
overwritten. To reproduce the problem:

ypig% touch tst
ypig% ls -l tst
-rw-r--r-- 1 vlefevre vlefevre 0 2010-04-14 00:53:30 tst
ypig% tcc tst.c -o tst
ypig% ls -l tst   
-rw-r--r-- 1 vlefevre vlefevre 3456 2010-04-14 00:53:38 tst

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] In WinCE ARM should be pe.subsystem = 9;

2010-04-13 Thread grischka

Timo VJ Lähde wrote:

Is that correct ?

tccpe.c 1824:

#if defined(TCC_TARGET_ARM)
   pe.subsystem = 3;
#else
   pe.subsystem = 9;
#endif

In WinCE ARM should be pe.subsystem = 9; ?

--Timppa


Looks wrong.  Maybe it was meant to be
#if !defined(TCC_TARGET_ARM)

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


[Tinycc-devel] In WinCE ARM should be pe.subsystem = 9;

2010-04-13 Thread Timo VJ Lähde

Is that correct ?

tccpe.c 1824:

#if defined(TCC_TARGET_ARM)
   pe.subsystem = 3;
#else
   pe.subsystem = 9;
#endif

In WinCE ARM should be pe.subsystem = 9; ?

--Timppa



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


[Tinycc-devel] Re: [PATCH] CVS -> Git

2010-04-13 Thread grischka

Kirill Smelkov wrote:

By the way, do you have an idea about when 0.9.26 is going to happen?
Even approximate timing helps...


Can happen whenever people want.  You'd just agree on a revision
number that is reasonably stable and you can have it tomorrow ;)

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


[Tinycc-devel] Re: [PATCH] CVS -> Git

2010-04-13 Thread Kirill Smelkov
On Tue, Apr 13, 2010 at 02:34:36PM +0200, grischka wrote:
> I'm not sure whether Fabrice Bellard reads this but we can tell
> him at next release.

Ok, thanks.

By the way, do you have an idea about when 0.9.26 is going to happen?
Even approximate timing helps...

> Perhaps just
>"Savannah project page and source repository"
> would be more future safe ;)

Indeed, so that you could always change Git for something else and leave
that main page intact :)

It's up to you how to do it. I just had an eyebrow seeing CVS on
titlepage, and wondered why it is still there and saw it's now totally
untrue.

Someone (hear hear) should be almost happy, but until title page is
changend we are not 100% there yet :)


Good luck and thanks!
Kirill


> --- grischka
> 
> Kirill Smelkov wrote:
> >It's been 1.5 years already [1], and Tinycc Savannah project page
> >references only Git without CVS [2], so let's maybe do
> >
> >diff --git a/http://bellard.org/tcc/ b/http://bellard.org/tcc/
> >--- http://bellard.org/tcc/
> >+++ http://bellard.org/tcc/
> >@@ -1,7 +1,7 @@
> > Links
> > 
> >   o TinyCC mailing list 
> >-  o Savannah project page and CVS repository 
> >+  o Savannah project page and Git repository 
> >   o OTCC - The smallest self compiling pseudo C compiler 
> >   o NumCalc.com - The Scientific Web Calculator 
> >   o TinyCC fork by Rob Landley
> >
> >?
> >
> >Thanks,
> >Kirill
> >
> >
> >[1] http://www.mail-archive.com/tinycc-devel%40nongnu.org/msg01873.html
> >[2] https://savannah.nongnu.org/projects/tinycc


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] win32: ftime() and WindowsXP

2010-04-13 Thread grischka

Timo VJ Lähde wrote:
If i compile tcc.exe with tcc.exe, i can't run it in WindowsXP because 
of missing function in msvcrt.dll : ftime32().


--Timppa


Thanks. I've pushed a fix on "mob".

--- grischka



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


[Tinycc-devel] Re: [PATCH] CVS -> Git

2010-04-13 Thread grischka

I'm not sure whether Fabrice Bellard reads this but we can tell
him at next release.

Perhaps just
   "Savannah project page and source repository"
would be more future safe ;)

--- grischka

Kirill Smelkov wrote:

It's been 1.5 years already [1], and Tinycc Savannah project page
references only Git without CVS [2], so let's maybe do

diff --git a/http://bellard.org/tcc/ b/http://bellard.org/tcc/
--- http://bellard.org/tcc/
+++ http://bellard.org/tcc/
@@ -1,7 +1,7 @@
 Links
 
   o TinyCC mailing list 
-  o Savannah project page and CVS repository 
+  o Savannah project page and Git repository 
   o OTCC - The smallest self compiling pseudo C compiler 
   o NumCalc.com - The Scientific Web Calculator 
   o TinyCC fork by Rob Landley


?

Thanks,
Kirill


[1] http://www.mail-archive.com/tinycc-devel%40nongnu.org/msg01873.html
[2] https://savannah.nongnu.org/projects/tinycc





___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


[Tinycc-devel] [PATCH] CVS -> Git

2010-04-13 Thread Kirill Smelkov
It's been 1.5 years already [1], and Tinycc Savannah project page
references only Git without CVS [2], so let's maybe do

diff --git a/http://bellard.org/tcc/ b/http://bellard.org/tcc/
--- http://bellard.org/tcc/
+++ http://bellard.org/tcc/
@@ -1,7 +1,7 @@
 Links
 
   o TinyCC mailing list 
-  o Savannah project page and CVS repository 
+  o Savannah project page and Git repository 
   o OTCC - The smallest self compiling pseudo C compiler 
   o NumCalc.com - The Scientific Web Calculator 
   o TinyCC fork by Rob Landley

?

Thanks,
Kirill


[1] http://www.mail-archive.com/tinycc-devel%40nongnu.org/msg01873.html
[2] https://savannah.nongnu.org/projects/tinycc


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/tinycc-devel