[Tinycc-devel] Reverted commits

2022-05-13 Thread Detlef Riekenberg
Yes, that sounds resonable.I will ask here for comments for some patches(in new mails),and only commit the bug fixesRegards ..Detlef--Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.

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


Re: [Tinycc-devel] Reverted commits

2022-05-11 Thread grischka

Detlef Riekenberg wrote:

Hi List.

My commits from the last 2 month where reverted.

Why?
And why without any comment?



Fixing simple bugs to make tcc more usable for all developer should be our goal.


Hi Detlef,

of course, simple bugs fixed is good, as long as no other simple
bugs are created at the same time.

For example, you removed .exe from c2str.  No comment what the
problem was.  But then c2str wasn't cleaned up anymore, as well as
not .gitignored.  In the sum two simple problems more that we had
in exchange for one problem less which we didn't have.

Just nitpicking, hope you don't mind.

Overall the commits all had a notion of preliminary, of proposals,
calling for other people to do the "real work".  As you noted in
one of them:

   "The code needs to be fixed: use the functions or remove them."

I really fixed some of them and decided to just drop the others.
I think that is more than you could expect.  If next time you decide
to do the real work yourself, including the necessary care not to cause
unwanted side effects, also to make them fit somehow nicely into the
rest of the code, and also spend some thoughts yourself on whether
or not tinycc really is the best place to solve some problem,  then
nobody will feel any need to touch your patches.


*Example Bug fixed, but patch reverted:
* arm64-tcc helloworld.c -o helloworld
No longer possible.
Startfiles are in /usr/aarch64-linux-gnu/lib
Includes are in /usr/aarch64-linux-gnu/include


Well, could you maybe share the possibly more interesting part of
your "OOTB Experience", too?   How did you make that arm64-tcc?

-- grischka


The tcc pakage from the OS is too old
and provides only i386-tcc and tcc (on x86_64),
but not for arm, arm64 and other targets


--
Bye bye ... Detlef



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


[Tinycc-devel] Reverted commits

2022-05-10 Thread Detlef Riekenberg
Hi List.

My commits from the last 2 month where reverted.

Why?
And why without any comment?


Fixing simple bugs to make tcc more usable for all developer should be our goal.

* Example Bug fixed, but patch reverted:
* CC=tcc configure
This is no longer possible


*Example Bug fixed, but patch reverted:
*CFLAGS includes "-g0"
Now, tcc creates debug infos again and produce much larger object files as gcc 
-O0
Yes, of course, removing "-g0" from the flags is possible.
Please try yourself to send patches for makefiles to work around a tcc bug to 
apache.org
and other projects.

*Example Bug fixed, but patch reverted:
*-Os has to define __OPTIMIZE_SIZE__
glibc header, uclibc-ng header and other code select a different 
implementation, when __OPTIMIZE_SIZE__ is defined

*Example Bug fixed, but patch reverted:
* arm64-tcc helloworld.c -o helloworld
No longer possible.
Startfiles are in /usr/aarch64-linux-gnu/lib
Includes are in /usr/aarch64-linux-gnu/include

I mentioned multiple times, that building tcc with the cross compiler feature 
fails
to build working cross compiler, which can even cross compile on most systems 
"out of the box".
config-extra.mak is not optional for any cross compiler.
"Out of the Box" experience failed.
The tcc pakage from the OS is too old
and provides only i386-tcc and tcc (on x86_64),
but not for arm, arm64 and other targets


--
Bye bye ... Detlef


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