[Tinycc-devel] tinycc Changelog tccelf.c

2007-10-30 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 07/10/30 15:13:21 Modified files: . : Changelog tccelf.c Log message: Fix 'invalid relocation entry' problem on ubuntu - from Bernhard Fischer CVSWeb URLs: http

Re: [Tinycc-devel] Sample patch from Mercurial repository

2007-11-02 Thread grischka
have yet. If we want to step towards distributed development then it is useful to do things in public. Cheers, --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] Commit-1

2007-11-09 Thread grischka
Hi all, Below is a list with the changesets from Rob's repo that I plan to commit in the first batch. Attached is the all-in-one diff against current CVS (excluding tcctest.c). If someone happens to know about specific problems or concerns with one of those, please speak up. --- grischka

Re: [Tinycc-devel] Strange sizeof construct

2007-11-13 Thread grischka
Could a C guru out there please tell me why the following works? Extra points if you can explain why it makes sense. #include stdio.h int main(){ int arr[10]; printf(%d\n,sizeof arr[0]); // ok printf(%d\n,sizeof(arr[0])); // ok printf(%d\n,sizeof(arr)[0]); // ok, but why? return 0;

[Tinycc-devel] Commit-2

2007-11-14 Thread grischka
will have two or three minor preprocessor changes and the ARM EABI by Daniel Glöckner, and then that's it, almost. --- grischka ### pre ### ### parse ### [P] 400 DD_typedef_as_sym http://landley.net/hg/tinycc/rev/afda44bbf76b [P] 415 AL_unicode_escapes http://landley.net/hg/tinycc/rev

Re: [Tinycc-devel] tinycc Changelog bcheck.c il-gen.c libtcc1.c tcc.c

2007-11-15 Thread grischka
From: KHMan: I updated from CVS, make tcc works on msys/mingw and Ubuntu 6.10. make libtcc borks on my Ubuntu 6.10, dunno why. Um, error message? Thanks, --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org

Re: [Tinycc-devel] Using resource files with tcc. How do I do that?

2007-11-20 Thread grischka
))); Next tcc version probably will link coff format resources directly (as from 'windres -O coff ...'). --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] tinycc/win32/include stddef.h

2007-11-21 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 07/11/21 17:16:44 Modified files: win32/include : stddef.h Log message: Import more changesets from Rob Landley's fork (part 2) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc

[Tinycc-devel] Commit-3

2007-11-21 Thread grischka
Landley's long long const- fold (487) instead of Ben Hinkle's (because it handles all integer sizes in one spot), discarded 471 and delayed the new tccpe.c. --- grischka Legend: [P] applied previously [A] applied in commit-1 [B] applied in commit-2 [Y] will apply [N

[Tinycc-devel] tinycc alloca86-bt.S alloca86.S

2007-11-22 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 07/11/23 00:03:03 Added files: . : alloca86-bt.S alloca86.S Log message: New files: alloca86.S alloca86-bt.S CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc

[Tinycc-devel] tinycc Changelog

2007-11-25 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 07/11/25 22:13:08 Modified files: . : Changelog Log message: Fixed: - Hanging tcc -E - Crashes witn global 'int g_i = 1LL;' - include lib search

[Tinycc-devel] tinycc tcc.c win32/build-tcc.bat

2007-11-25 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 07/11/25 22:14:36 Modified files: . : tcc.c Added files: win32 : build-tcc.bat Log message: Some in-between fixes (See Changelog for details). CVSWeb URLs

Re: [Tinycc-devel] tinycc Changelog

2007-11-26 Thread grischka
didn't break something. On the plus side we got rid of the hack in tcc_preprocess at least. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] tinycc Changelog

2007-11-26 Thread grischka
From: Zdenek Pavlas: On Sun, Nov 25, 2007 at 10:13:08PM +, grischka wrote: Reverted case label optimization (See Changelog for details). Last added case label optimization (455) produced wrong code. Reverted. Have you some more information how to reproduce the bug

Re: [Tinycc-devel] [PATCH] tcc -E falls into a loop and runs out ofmemory with vim7.1, osdef0.c

2007-11-29 Thread grischka
before next(). That would also make the output from tcc -E look prettier. Anyone likes to try that? --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Testing modular TinyCC

2007-12-07 Thread grischka
From: Timovj Lahde: This diff is for testing i386 PE-COFF with modular compilation. Define MODULAR for testing. You forgot to include i386-gen.h. Anyway a nice experiment. However I think that any formal changes with file layout should wait until after a tcc-0.9.24 release. --- grischka

Re: [Tinycc-devel] Self-compiled PE code can't run

2007-12-07 Thread grischka
-lkernel32 .\tcc1.exe ..\tcc.c -o tcc2.exe -lkernel32 diff -s tcc1.exe tcc2.exe Files tcc1.exe and tcc2.exe are identical Can you build and run the examples? --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org

Re: [Tinycc-devel] Self-compiled PE code can't run

2007-12-09 Thread grischka
From: Hanzac Chen: Hi, On Dec 7, 2007 9:40 PM, grischka wrote: I don't see that. In win32: build-tcc.bat .\tcc.exe ..\tcc.c -o tcc1.exe -lkernel32 .\tcc1.exe ..\tcc.c -o tcc2.exe -lkernel32 diff -s tcc1.exe tcc2.exe Files tcc1.exe and tcc2.exe are identical Can you build

[Tinycc-devel] CVS Sync - The Rest

2007-12-16 Thread grischka
is this unless someone can give testcases as to where or what these patches are meant to improve. --- grischka Legend: [N] will not apply [M] mal-functioning [Q] what is this (ideas, anyone?) [*] not decided (+nnn) related to nnn ### asm ### [M] 471 JP_8bit_arit_opc (i386

[Tinycc-devel] tinycc Changelog tcc.c

2007-12-17 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 07/12/17 19:35:15 Modified files: . : Changelog tcc.c Log message: Handle backslashes within #include, #error, #warning CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs

[Tinycc-devel] tinycc Changelog i386-gen.c tcc.c tccelf.c tccp...

2007-12-19 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 07/12/19 17:36:43 Modified files: . : Changelog i386-gen.c tcc.c tccelf.c tccpe.c win32 : readme.txt Log message: Switch to newer tccpe.c (includes support

Re: [Tinycc-devel] Libtcc bug ?

2008-01-02 Thread grischka
From: kwisatz haderach: I think I found a problem with the FPU registers are managed by TCC. In tcc.c:~1591:void vpop(void) instead of o(0xd9dd); /* fstp %st(1) */ try o(0xd8dd); /* fstp %st(0) */ --- grischka ___ Tinycc-devel

Re: [Tinycc-devel] mercurialtcc updated: Sync from cvs to hg (part 1)

2008-01-16 Thread grischka
/types.h does not work. Okay, thanks, so lets have it. [snip] By by ... Detlef By, ... -- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] tinycc Changelog TODO alloca86-bt.S alloca86.S ...

2008-01-16 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/01/16 20:16:36 Modified files: . : Changelog TODO alloca86-bt.S alloca86.S tcc.c Log message: Just warn about unknown directives, define __STDC_VERSION__=199901L CVSWeb

[Tinycc-devel] tinycc Makefile TODO

2008-01-16 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/01/16 22:33:56 Modified files: . : Makefile TODO Log message: Udated and cleaned up TODO. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/Makefile?cvsroot

Re: [Tinycc-devel] TCC built using NOSTDLIB crashes on linux

2008-02-02 Thread grischka
from, for instance, linux. ... assumptions that don't apply to windows, where executable is basically statically linked as far as system libraries go .. erm, by 'statically' here you meant 'dynamically' ? --- grischka ___ Tinycc-devel mailing list

Re: [Tinycc-devel] compile issues on windows...

2008-02-05 Thread grischka
From: Prasad Gadgil : The error is about not finding stdio.h. Unfortunately the available compiled zip for windows is not correctly packed. You need to move the files from the 'bin' folder one level down into the parent folder. --- grischka

[Tinycc-devel] tcc-0.9.24 release soon

2008-03-03 Thread grischka
Should we make a release now? Any suggestions what to still include with it? --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] tcc-0.9.24 release soon

2008-03-07 Thread grischka
From: KHMan: Binary releases calls for certain expectations from their uses. That is true, also it calls for certain users per se. But why exclude such users? Programmers writing programs only for programmers has some boring aspect too, IMO. On Tue, Mar 4, 2008 at 5:37 AM, grischka wrote

[Tinycc-devel] tinycc/win32/tools

2008-03-08 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/08 19:52:01 New directory: win32/tools CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/win32/tools/?cvsroot=tinycc ___ Tinycc-devel

[Tinycc-devel] tinycc Makefile configure win32/build-tcc.bat w...

2008-03-08 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/08 19:55:47 Modified files: . : Makefile configure win32 : build-tcc.bat readme.txt win32/include : _mingw.h Added files: win32/tools

[Tinycc-devel] tinycc win32/tools/tiny_libmaker.c tiny_impdef.c

2008-03-08 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/08 19:56:05 Added files: win32/tools: tiny_libmaker.c Removed files: . : tiny_impdef.c Log message: Checkin tiny_libmaker (ar replacement) by Timovj Lahde

[Tinycc-devel] tinycc libtcc1.c

2008-03-08 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/08 19:57:26 Modified files: . : libtcc1.c Log message: Get rid of one warning CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/libtcc1.c?cvsroot=tinyccr1=1.5r2

[Tinycc-devel] tinycc tccelf.c

2008-03-08 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/08 19:58:57 Modified files: . : tccelf.c Log message: Fix 'tcc -static' with recent glibc CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/tccelf.c?cvsroot

[Tinycc-devel] tinycc tcc.c

2008-03-08 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/08 20:00:57 Modified files: . : tcc.c Log message: Enable -B option for library path on win32 CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/tcc.c?cvsroot

[Tinycc-devel] Release Candidate - please test

2008-03-08 Thread grischka
. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Release Candidate - please test

2008-03-09 Thread grischka
disable the feature similar to _WIN32/CONFIG_TCCBOOT at lines 9834 and 10015). --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] tcc-0.9.24 release soon

2008-03-09 Thread grischka
amount of lack of _interest_ involved in the old cvs, too. If by old you mean formally consistent with previous versions, then you're right. But functionally it is certainly current state of the art. Rob --- grischka ___ Tinycc-devel mailing list

Re: [Tinycc-devel] Release Candidate - please test

2008-03-10 Thread grischka
backend in order to work with it. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Include file error

2008-03-13 Thread grischka
It almost appears as if tcc cannot find any libraries... You need to move tcc.exe one level down into the parent folder (the one that has include and lib) (I use the windows binary of tcc 0.9.23) tcc 0.9.24 coming soon: http://lists.gnu.org/archive/html/tinycc-devel/2008-03/msg00012.html

[Tinycc-devel] tinycc i386-asm.c

2008-03-25 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/25 20:58:37 Modified files: . : i386-asm.c Log message: Comply to c89 compilers other than gcc (Hanzac Chen) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc

[Tinycc-devel] tinycc tcc.c tccelf.c

2008-03-25 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/25 21:04:48 Modified files: . : tcc.c tccelf.c Log message: Add -soname linker option (Marc Andre Tanner) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc

[Tinycc-devel] tinycc i386-asm.c win32/build-tcc.bat

2008-03-25 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/25 21:05:48 Modified files: . : i386-asm.c win32 : build-tcc.bat Log message: get rid of a warning and fix .bat CVSWeb URLs: http

Re: [Tinycc-devel] How about the source code accepted as a input stream

2008-03-25 Thread grischka
: compile to a.out: cat foo.c | tcc - compile to exe: cat foo.c | tcc - -o foo.exe compile and run: cat foo.c | tcc -run - arguments ... Can you make a patch? --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http

Re: [Tinycc-devel] Can the code comply to c89

2008-03-25 Thread grischka
. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] How about the source code accepted as a inputstream

2008-03-29 Thread grischka
suppose (like -O*, -m* too). --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] How about the source code accepted as a inputstream

2008-03-30 Thread grischka
as expected. Yes, almost ;) $ tcc -run - 32 examples\fib.c should run fib(32), it thinks 32 is a file $ tcc -E examples\fib.c shows usage, should preprocess $ tcc -X shows usage, should show invalid option Maybe it is easier to handle '-' like a file, not like an option at all. --- grischka

[Tinycc-devel] tinycc tcc-doc.texi tcc.c

2008-03-31 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/31 18:42:57 Modified files: . : tcc-doc.texi tcc.c Log message: Accept standard input as an inputstream (Hanzac Chen) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs

[Tinycc-devel] tinycc tcc-doc.texi tcc.c tccelf.c

2008-03-31 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/31 19:49:14 Modified files: . : tcc-doc.texi tcc.c tccelf.c Log message: added verbosity levels (-vv -vvv) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/tcc

[Tinycc-devel] tinycc Changelog Makefile tcc-doc.texi tcc.c tc...

2008-03-31 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/03/31 19:50:59 Modified files: . : Changelog Makefile tcc-doc.texi tcc.c tcctest.c Log message: update manual, changelog CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs

Re: [Tinycc-devel] How about the source code accepted as a inputstream

2008-03-31 Thread grischka
From: Hanzac Chen: I made some changes, to accept the '-' as a filename ... Thanks, I think that works. I added some words to the manual. --- grischka Seen that? http://landley.net/hg/tinycc/rev/8595fe33590f http://landley.net/hg/tinycc/rev/8e2f9e376489

[Tinycc-devel] TCC version 0.9.24 is out

2008-04-02 Thread grischka
compile from distinct object files, now? WDYT? --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] libtcc API v.s. global state v.s. tcc state

2008-04-17 Thread grischka
with the SHF_ALLOC bit. I have tested it on simple C code (i.e. doesnt load DLLs) and the changes work, I haven't included patches because this more of a discussion on the addition :) Yes, could be useful. Kind Regards, Sam K Thanks, --- grischka

Re: [Tinycc-devel] ARM GOT initialization problem

2008-04-17 Thread grischka
section which ld doesn't understand and leaves references unpatched. It works however when -fno-common is passed to TCC. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] libtcc API v.s. global state v.s. tcc state

2008-04-20 Thread grischka
before we can create a new state. But I mean, it doesn't need to be like that. We could as well clear the global data from elsewhere, so we can do new compilation, and still can run old states. What do you think? --- grischka ___ Tinycc-devel mailing

Re: [Tinycc-devel] libtcc API v.s. global state v.s. tcc state

2008-04-20 Thread grischka
be called from tcc_new instead. How is this? To make it all balanced you can have a state counter. tcc_new() { if (state_count++) tcc_cleanup(); ... tcc_delete() { if (0 == --state_count) tcc_cleanup(); ... --- grischka

Re: [Tinycc-devel] libtcc API v.s. global state v.s. tcc state

2008-04-20 Thread grischka
From: David Given: grischka wrote: [...] Well, I need to suggest something. So, maybe I'd move the bits in tcc_delete, that mess with globals, out from tcc_delete into another function. Then that function (name it tcc_cleanup) can be called from tcc_new instead. How

Re: [Tinycc-devel] libtcc API v.s. global state v.s. tcc state

2008-04-20 Thread grischka
sense if we figure out something and then cannot test it. Anyone by any chance already has that? Or could write it? Then we fix the crashes. Then we fix the memory leaks. Then we make the code look nice ;) --- grischka ___ Tinycc-devel mailing list

Re: [Tinycc-devel] linux/unix shared libraries?

2008-04-21 Thread grischka
Works for me. (on ubuntu 6.02) --- grischka From: Olaf Dietrich: The simple question is: Is it or has it ever been possible to compile shared libraries with tcc under linux/unix? Here is a very simple test case: $ cat mylib.c int func(void) { return 12345; } $ cat

Re: [Tinycc-devel] linux/unix shared libraries?

2008-04-22 Thread grischka
From: Olaf Dietrich: grischka (2008-04-21T18:07:35+0200): Works for me. (on ubuntu 6.02) That's good news - so what might go wrong here? Did I use the appropriate compiler/linker options? I don't know why you used -r to TCC, but anyway it works both with and without. (Are you saying

Re: [Tinycc-devel] linux/unix shared libraries?

2008-04-24 Thread grischka
over the end of it. So bad news for now: Looks like TCC is something missing. I don't understand the ELF linker very well, and don't have time to look into it anyway. Maybe it is easy to fix, maybe not. If someone wants to look into it, below is the test-example again. --- grischka mylib.c

Re: [Tinycc-devel] linux/unix shared libraries?

2008-04-25 Thread grischka
From: grischka: ... The problem with the layout from TCC seem to be that the dynamic linker (/lib/ld-linux.so.2) thinks RELSZ is the size of rel.text, and then crashes when it goes over the end of it. The above from my last email was somewhere near but still wrong. TCC is okay to add

[Tinycc-devel] tinycc tccelf.c

2008-04-27 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/04/27 18:48:19 Modified files: . : tccelf.c Log message: fix bogus relocations with TCC_OUTPUT_DLL CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/tccelf.c

[Tinycc-devel] tinycc tcc.c tccelf.c

2008-04-27 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/04/27 18:49:31 Modified files: . : tcc.c tccelf.c Log message: fix stabstr with linked objects CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/tcc.c?cvsroot

[Tinycc-devel] tinycc tcc.c

2008-04-27 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/04/27 18:50:36 Modified files: . : tcc.c Log message: fix options in C scripts after -run CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/tcc.c?cvsroot=tinyccr1

[Tinycc-devel] New in CVS

2008-04-27 Thread grischka
[0] script.c --- that's it so far --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] tccpe.c / resolve_sym() leaks LoadLibrary() handles

2008-04-28 Thread grischka
Can't you just store the DLL-handle into the DLLReference structure? --- grischka From: egodust Heyas, When a compiled TCC binary image is memory linked, resolve_sym() is given the symbol to find, it looks for the assocated DLL (using DEF file info) and calls LoadLibrary(), using

Re: [Tinycc-devel] tinycc tcc.c tccelf.c

2008-05-06 Thread grischka
From: Shmuel Zeigerman: grischka wrote: CVSROOT: /sources/tinycc Module name: tinycc Changes by: grischka grischka 08/05/05 22:39:44 Modified files: . : tcc.c tccelf.c Log message: enable pe-output from libtcc (Shmuel Zeigerman) I'm glad to see

Re: [Tinycc-devel] [PATCH 5/5] Fix gv for long longs

2008-09-10 Thread grischka
and then apply your patches from 2003 (or what is left from them) on top (or below or whatever) of the patches-from-Daniel branch, there? Alternatively maybe you want Savannah CVS access, so you could work directly to good/bad old CVS? Alternatively other suggestions ... --- grischka - Original

[Tinycc-devel] tinycc Makefile

2008-09-11 Thread grischka
CVSROOT:/sources/tinycc Module name:tinycc Changes by: grischka grischka 08/09/11 20:36:32 Modified files: . : Makefile Log message: Patch for DESTDIR installation (Adam Sampson) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/tinycc/Makefile

[Tinycc-devel] Can use GIT

2008-09-15 Thread grischka
, everything can be found in good old CVS as well. (If we didn't get another 12 emails it's because I disabled commit notifications from Savannah for now), --- grischka Latest changes: - fix isidnum_table for CH_EOF (-1) (grischka) http://repo.or.cz/w/tinycc.git?a=commitdiff;h=2c6cd08 - Patch

[Tinycc-devel] tcc xref experiment

2008-09-17 Thread grischka
I heard using GIT is about making branches. So I had to make one. - tcc xref experiment (grischka) http://repo.or.cz/w/tinycc.git?a=commitdiff;h=e0a36e6 ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman

Re: [Tinycc-devel] Re: Memory bug in tcc

2008-10-27 Thread grischka
accessing data outside the intended buffer isidnum_table. Thanks. It was fixed in May this year ;) http://repo.or.cz/w/tinycc.git?a=commitdiff;h=2c6cd08b --- grischka I assume the while loop should be changed to while (c != -1 isidnum_table[c]), but I didn't have time to examine the code

Re: [Tinycc-devel] Re: global 64-bit variables initialization

2008-11-23 Thread grischka
if you are interested in test cases we can make a test subdirectory and you are invited to populate it. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Re: global 64-bit variables initialization

2008-11-24 Thread grischka
]:/sources/tinycc co tinycc --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

[Tinycc-devel] line-number output for TCC -E

2008-11-24 Thread grischka
This adds line numbers like : # 3 test.c int main ( int argc , char * * argv ) line-numbers output for TCC -E (grischka) http://repo.or.cz/w/tinycc.git?a=commitdiff;h=75e16e89 --- By the way: This commit appears on the new mob branch that I just created. From now on everybody can push

Re: [Tinycc-devel] Re: global 64-bit variables initialization

2008-11-26 Thread grischka
(click the fork link at top of the page) --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Re: global 64-bit variables initialization

2008-11-27 Thread grischka
Jerry wrote: I have clone a local copy of tcc from repo. But how to switch to mob branch? Here is what I have tried. [EMAIL PROTECTED] ~/Source Code/tcc $ git-branch mob fatal: Not a valid object name: 'master'. [EMAIL PROTECTED] ~/Source Code/tcc $ git-checkout mob error: pathspec 'mob'

Re: [Tinycc-devel] x86-64 port

2008-11-29 Thread grischka
. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] x86-64 port

2008-11-30 Thread grischka
to make many small commits. Sure. - in tcc_delete: free the member before the structure :) tcc_free(s1-jmp_table); tcc_free(s1); Oops. Thanks for catching this. No matter. --- grischka ___ Tinycc-devel mailing list Tinycc-devel

Re: [Tinycc-devel] AntiVirus messages

2008-12-03 Thread grischka
Rüdiger Plantiko wrote: Dear tcc authors and users, the binaries generated by tcc are classified as Worm (Zhelatin) or even Trojan by my AV programs Kaspersky resp. Norton AV. This is very likely a wrong classification but makes it hard to work with tcc for me. Just to go sure: Is there an

Re: [Tinycc-devel] x86-64 port

2008-12-03 Thread grischka
enough for me. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] x86-64 port

2008-12-10 Thread grischka
grischka wrote: I will first pull Daniel's latest changes with type-casts and then put your changes on top of it. Done. Updated CVS too. See: http://repo.or.cz/w/tinycc.git ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http

Re: [Tinycc-devel] wrong preprocessor shift operation

2008-12-29 Thread grischka
Christian Jullien wrote: Simple code below is wrong, even when forcing to long or unsigned long : printf(%08x\n, ((~0) 1)); printf(%08x\n, (unsigned long)((~(unsigned long)0) 1)); printf(%08x\n, (long)((~(long)0) 1)); It prints while 7fff is

Re: [Tinycc-devel] wrong preprocessor shift operation

2008-12-30 Thread grischka
Christian Jullien wrote: I think you're right. Bug occurs when int (0x) is promoted to long long (0x). Then right shift and back to int conversion returns a false result. Another possible fix is to cast to (unsigned int) as with if (t1 == VT_LLONG) { l1 = v1-c.ll; }

Re: [Tinycc-devel] wrong preprocessor shift operation

2008-12-30 Thread grischka
Christian Jullien wrote: Many thanks, I tested your fix but I still have a broken case: int main() { unsigned int x = 0x; unsigned int y = 1; printf(fixed %08x\n, x y); printf(fixed %08x\n, (~(unsigned int)0) (unsigned int)1); printf(fails

[Tinycc-devel] Re: TCC generating false positive?

2009-01-09 Thread grischka
bmyrick...@netscape.net wrote: Hi, grischka, McAfee VirusScan Enterprise 8.7.0i ALSO detects a virus W32/Zhelatin.gen immediately as soon as hello_dll.exe is generated. Using tcc.exe from the release: $ tcc -v examples/dll.c -shared tcc version 0.9.24 - examples/dll.c - dll.def (1

Re: [Tinycc-devel] bug in tcc 0.9.24 (linux)

2009-01-23 Thread grischka
D.J. Peters wrote: Any idea whats going wrong with OpenGL and tcc on Linux? i will use tcc as backend for my OpenGL Basic compiler (Win and Lin) i need a workaround can anywhere give me a hint? I could not reproduce this. I tried the lesson05 that you provided on ubuntu and the behavior is

Re: AW: [Tinycc-devel] Memory allocation and initialization of arrays withdimension % 2 = 0

2009-02-02 Thread grischka
Alexander Egorenkov wrote: Here is the correct patch. Thanks. If you happen to have GIT around please feel free to push your patch on our mob branch: git push ssh://m...@repo.or.cz/srv/git/tinycc.git mypatch:mob --- grischka

Re: [Tinycc-devel] Feature requests and bug report

2009-02-16 Thread grischka
objects, in some project derived from TinyCC, somewhere ... --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] I need help adding custom sections to a c program

2009-02-16 Thread grischka
/tinycc.git?a=commitdiff;h=97ac6935 --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] TCC linker symbols for section start and end

2009-02-21 Thread grischka
Simon Lehmayr wrote: Hello, I again need your help: How can I determine the start and end addresses of sections in my c program? I tried extern int mysection_start, _mysection_start and __mysection_start but it never linked. Might be __start/stop_mysection. See

Re: [Tinycc-devel] Is the CVS repository dead yet?

2009-03-20 Thread grischka
Grischka as well takes care of mirroring cvs on http://repo.or.cz/w/tinycc.git Ah, a mirror. So CVS is the official repository and git is just a mirror. Actually no. I'm using GIT for TinyCC ever since pre 0.9.24. It is just that I run a script from time to time that updates the CVS

Re: [Tinycc-devel] Is the CVS repository dead yet?

2009-03-20 Thread grischka
the main base to your fork. --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Is the CVS repository dead yet?

2009-03-21 Thread grischka
very much what people do, in between and anyway. Thanks, --- grischka P.S: To grep for words (even single letter words) use grep -w ... - Original Message - From: Rob Landley r...@landley.net To: tinycc-devel@nongnu.org Cc: grischka gris...@gmx.de; Joshua Phillips jp.sittingd

Re: [Tinycc-devel] Is the CVS repository dead yet?

2009-03-24 Thread grischka
+1+A); } I've looked into this once and was unable to fix it, and I'm pretty sure there never was a fix anywhere so far :( --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Re: TCC:cannot find -lxyz.dll

2009-04-02 Thread grischka
available on the borland site, once). It is for Win95 actually, but if you configure your editor that F1 pops up that help file for the keyword under the cursor then you have a very convenient setup to go for almost everything you'll maybe ever want to do with Windows. Hope this helps. --- grischka

Re: [Tinycc-devel] Re: TCC:cannot find -lxyz.dll

2009-04-03 Thread grischka
with the DLL. Still, maybe -rdynamic needs more explanation with TCC. So please feel free to suggest some addition to the docs, say, one short sentence, placed to your choice ;) Thanks, --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org

Re: [Tinycc-devel] [PATCH] invalid memory access in free_section()

2009-04-04 Thread grischka
David Raulo wrote: Hi, I am a user of the libtcc API; the code I'm working with comes from the tip of git://repo.or.cz/tinycc.git Here is a test case which causes a crash under MSVC; it seems to pass under Linux, except if you take a closer look with valgrind (see attached file

Re: [Tinycc-devel] (no subject) - array[restrict] problem

2009-04-04 Thread grischka
happen with Landley's mercurialtcc. Cheers,/PA Patch pushed at: http://repo.or.cz/w/tinycc.git?a=commitdiff;h=d23f7ed32ae7f34deb06de15a169ca61f5a62c5d --- grischka ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman

  1   2   3   4   5   6   7   8   9   >