Re: [Tinycc-devel] Attributes position on structs/unions

2016-04-06 Thread Michael Matz

Hi,

On Wed, 6 Apr 2016, Vladimir Vissoultchev wrote:


https://github.com/wqweto/tinycc/commit/0691b7630b89bf3de5f7691802cb923bd7c1
fd99


Thanks, please push to mob.  (It would be easier to review if you'd 
include the patch in plain text in your email.  I for instance use a 
console based MUA, so opening URLs is a small hassle.)



Ciao,
Michael.

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


[Tinycc-devel] Attributes position on structs/unions

2016-04-06 Thread Vladimir Vissoultchev
https://github.com/wqweto/tinycc/commit/0691b7630b89bf3de5f7691802cb923bd7c1
fd99

 

A small fix for compat w/ gcc which allows `attributes` both to prefix and
postfix type declaration like this:

 

typedef union Unaligned16a {

  uint16_t u;

  uint8_t b[2];

} __attribute__((packed)) Unaligned16a;

 

typedef union __attribute__((packed)) Unaligned16b {

  uint16_t u;

  uint8_t b[2];

} Unaligned16b;

 

This failing sample included in tests.

 

cheers,



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


Re: [Tinycc-devel] tccboot sources on github

2016-04-06 Thread Vladimir Vissoultchev
Awesome! Can you put a compiled .iso in repo's releases?

I'm not sure I can compile it w/o hand-holding or a step-by-step readme.
Probably not the only one who will need assistance on that.

cheers,


-Original Message-
From: tinycc-devel-bounces+wqweto=gmail@nongnu.org
[mailto:tinycc-devel-bounces+wqweto=gmail@nongnu.org] On Behalf Of
Sergey Korshunoff
Sent: Wednesday, April 6, 2016 6:35 AM
To: tinycc-devel@nongnu.org
Subject: [Tinycc-devel] tccboot sources on github

Hi!

https://github.com/seyko2/tccboot
Using TinyCC to compile Linux kernels
Testing tcc compilation speed and correctness.
Studying Linux kernel internals.and Linux kernel development.

Original author of the tccboot project is Fabrice Bellard:
TCCBOOT: TinyCC Boot Loader (www.bellard.org/tcc/tccboot.html)

Kernel compiles by current version of the tcc [mob branch].
Succesfully boots on real hardware (eMachines AMD V140 2.2 GHz
notebook) and VirtualBox.

A shell script produce tccboot.iso which can be used in VirtualBox.

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


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