flat assembler
Message board for the users of flat assembler.
  
|  Index
      > High Level Languages > typedef struct using tcc (tiny c compiler) | 
| Author | 
 | 
| sleepsleep 06 Aug 2009, 21:40 i think somehow i found the reason.
 tcc doesn't throw warning or error on conflicting types. Code: typedef struct _lorry { int no; char name[20]; } lorry, *plorry; would make c = 24; | |||
|  06 Aug 2009, 21:40 | 
 | 
| vid 07 Aug 2009, 07:53 That typedef immediately struck me. Got to try it with some normal C compiler. | |||
|  07 Aug 2009, 07:53 | 
 | 
| jack2 07 Aug 2009, 13:17 in visual studio 2005 I get
 Quote: 
 btw, had to remove *lorry from Code: typedef struct _lorry { int no; char name[20]; } lorry, *lorry; because i get Quote: 
 | |||
|  07 Aug 2009, 13:17 | 
 | 
| f0dder 07 Aug 2009, 14:00 Why keep on using TCC instead of a decent compiler? | |||
|  07 Aug 2009, 14:00 | 
 | 
| windwakr 07 Aug 2009, 14:18 What other compiler takes under a megabyte of space unpacked and doesn't have to install itself?
 BTW: It's called a Truck. Seriously, "Jolly good day, did you see that lorry go by?". Those englanders have the weirdest words and phrases. | |||
|  07 Aug 2009, 14:18 | 
 | 
| sleepsleep 07 Aug 2009, 16:54 Quote: 
 i actually thought of using PCC too, since openbsd dev wanna uses them, it won't be wrong, but couldn't find the win32 version. http://en.wikipedia.org/wiki/Portable_C_Compiler windwakr wrote: 
 yeah, those englanders. lorry. even the national language here in my country, borrow this word directly. lorry = lori | |||
|  07 Aug 2009, 16:54 | 
 | 
| windwakr 07 Aug 2009, 17:33 this?
 http://pcc.ludd.ltu.se/supported-platforms/ http://pcc.ludd.ltu.se/ftp/pub/win32/ Google is your friend. EDIT2: Ok, forget my last edit(that is, if you read it). Download this file. http://pcc.ludd.ltu.se/ftp/pub/win32/pcc-20090408-win32.exe Ok, lorry to us is strange. But I bet some of our words are probably strange to you. Last edited by windwakr on 07 Aug 2009, 17:43; edited 1 time in total | |||
|  07 Aug 2009, 17:33 | 
 | 
| sleepsleep 07 Aug 2009, 17:41 weird, why they hide this information in their download page.
 http://pcc.ludd.ltu.se/downloads/ yeah, strange, btw, i think you just introduce fasm board with new message encryption utility, size=1   | |||
|  07 Aug 2009, 17:41 | 
 | 
| windwakr 07 Aug 2009, 17:55 It IS a wiki, you could sign up and add the links yourself.
 I haven't introduced anything, me and many others have been using size=1 for years. | |||
|  07 Aug 2009, 17:55 | 
 | 
| Endre 23 Aug 2009, 11:35 I think that pcc is not a serious alternative for replacing gcc, but there are huge expectations in clang. You might want to take a look also at the llvm compiler infrastructure that's the engine under the cover. As I know C, and Objective-C are quite matured (Apple pushes the development hard) but there may still be problems with C++ (I simply don't know why this language is not forbidden yet   ). The source can of course be downloaded and compiled. I had absolutely no problem with the compilation. On the other hand I doubt that it is less than 1MiB. | |||
|  23 Aug 2009, 11:35 | 
 | 
| < Last Thread | Next Thread > | 
| Forum Rules: 
 | 
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.