digitalmars.D - htod, no version for Linux?
- Paul Dufresne (2/2) Aug 17 2010 I downloaded htod.zip and found there is only htod.exe inside.
- Walter Bright (3/5) Aug 17 2010 No. The problem is it is built out of the DM C compiler, which does not ...
- dsimcha (3/8) Aug 17 2010 Shouldn't a command line utility like this that doesn't have a lot of ex...
- Paul Dufresne (3/5) Aug 17 2010 Well, yes, it is just that I have a very slow connection and wine is
- Walter Bright (2/11) Aug 17 2010 That won't help you in dealing with linux's #include files.
- Jacob Carlborg (5/10) Aug 18 2010 How about the rest of the language or is the gcc extensions used in too
- Walter Bright (3/13) Aug 18 2010 I don't know how hard the problem is. I haven't spent any time attemptin...
- Stewart Gordon (7/16) Aug 18 2010 Cross-platform compatibility is a separate issue from compatibility with...
- dsimcha (4/20) Aug 18 2010 Well, if we don't care about GNU extensions, then I'll ask again, what's...
- Stewart Gordon (8/11) Aug 18 2010 Some users may object to installing Wine just to run one program,
- Stewart Gordon (6/12) Aug 18 2010 But if the headers the user wants to convert are written in standard C
- Michael Strashun (8/20) Aug 18 2010 Is there DMC for Linux? I am currently working on tool named h2d2 for
- Matthias Pleh (7/9) Sep 14 2010 Maybe it's to late for you, but I've discovered a small ruby-script
- Stewart Gordon (3/5) Sep 16 2010 Just as to the point, why is htod closed source?
I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?
Aug 17 2010
Paul Dufresne wrote:I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.
Aug 17 2010
== Quote from Walter Bright (newshound2 digitalmars.com)'s articlePaul Dufresne wrote:Shouldn't a command line utility like this that doesn't have a lot of external dependencies be trivial to run on Wine?I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.
Aug 17 2010
Shouldn't a command line utility like this that doesn't have a lotof externaldependencies be trivial to run on Wine?Well, yes, it is just that I have a very slow connection and wine is not already installed.
Aug 17 2010
dsimcha wrote:== Quote from Walter Bright (newshound2 digitalmars.com)'s articleThat won't help you in dealing with linux's #include files.Paul Dufresne wrote:Shouldn't a command line utility like this that doesn't have a lot of external dependencies be trivial to run on Wine?I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.
Aug 17 2010
On 2010-08-17 21:54, Walter Bright wrote:Paul Dufresne wrote:How about the rest of the language or is the gcc extensions used in too many headers for htod to be useful ? -- /Jacob CarlborgI downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.
Aug 18 2010
Jacob Carlborg wrote:On 2010-08-17 21:54, Walter Bright wrote:I don't know how hard the problem is. I haven't spent any time attempting to make it work on linux.Paul Dufresne wrote:How about the rest of the language or is the gcc extensions used in too many headers for htod to be useful ?I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.
Aug 18 2010
Walter Bright wrote:Jacob Carlborg wrote:<snip>On 2010-08-17 21:54, Walter Bright wrote:Cross-platform compatibility is a separate issue from compatibility with vendor-specific extensions to the language. Besides, there's a version of GCC (MinGW) for Windows as well.No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.I'd expect a program like this to be platform agnostic. Stewart.How about the rest of the language or is the gcc extensions used in too many headers for htod to be useful ?I don't know how hard the problem is. I haven't spent any time attempting to make it work on linux.
Aug 18 2010
== Quote from Stewart Gordon (smjg_1998 yahoo.com)'s articleWalter Bright wrote:Well, if we don't care about GNU extensions, then I'll ask again, what's wrong with Wine? I'm not saying it wouldn't be nice to have a Linux port of htod, but if Wine provides an easy workaround, I think it should be a very low priority.Jacob Carlborg wrote:<snip>On 2010-08-17 21:54, Walter Bright wrote:Cross-platform compatibility is a separate issue from compatibility with vendor-specific extensions to the language. Besides, there's a version of GCC (MinGW) for Windows as well.No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.I'd expect a program like this to be platform agnostic. Stewart.How about the rest of the language or is the gcc extensions used in too many headers for htod to be useful ?I don't know how hard the problem is. I haven't spent any time attempting to make it work on linux.
Aug 18 2010
dsimcha wrote: <snip>Well, if we don't care about GNU extensions, then I'll ask again, what's wrong with Wine? I'm not saying it wouldn't be nice to have a Linux port of htod, but if Wine provides an easy workaround, I think it should be a very low priority.Some users may object to installing Wine just to run one program, especially one that should have a Linux port anyway. But having some clue of what would need changing in the source code before it can be built to run natively under Linux might help to put it in better perspective. Stewart.
Aug 18 2010
Walter Bright wrote:Paul Dufresne wrote:But if the headers the user wants to convert are written in standard C rather than GNU-extended C (especially likely if whoever wrote the code wants it to be portable), then that shouldn't be a problem. So denying Linux users the utility on this basis doesn't really make sense. Stewart.I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.
Aug 18 2010
On 08/18/2010 05:44 PM, Stewart Gordon wrote:Walter Bright wrote:Is there DMC for Linux? I am currently working on tool named h2d2 for Linux ( guess what it means ;) ) and found a lot of good stuff like gcc pre-processor putting non-standard gcc-only tokens in result code, some gcc-oriented code in standard library headers ( by standard any ID starting with __ can be treated as reserved ID, so it is perfectly valid C99 ). So it is not only front-end adaptation, but also pre-processor adaptation at least.Paul Dufresne wrote:But if the headers the user wants to convert are written in standard C rather than GNU-extended C (especially likely if whoever wrote the code wants it to be portable), then that shouldn't be a problem. So denying Linux users the utility on this basis doesn't really make sense. Stewart.I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?No. The problem is it is built out of the DM C compiler, which does not parse gcc extensions found in Linux.
Aug 18 2010
Am 17.08.2010 21:47, schrieb Paul Dufresne:I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?Maybe it's to late for you, but I've discovered a small ruby-script (GPL'ed) in the dotmars-project, which use the gcc-xml tool. So it should also work on linux. But like htod, only c-code is supported. http://dotmars.googlecode.com/svn/trunk/tools/htd/ greets Matthias
Sep 14 2010
On 17/08/2010 20:47, Paul Dufresne wrote:I downloaded htod.zip and found there is only htod.exe inside. Any version for Linux?Just as to the point, why is htod closed source? Stewart.
Sep 16 2010