|
This thread is locked; no one can reply to it. |
1
2
|
Allegro 4.1.17 WIP |
Jeremy McCleese
Member #5,241
November 2004
|
From fix.bat: Quote:
echo Converting Allegro files to DOS CR/LF format... Just saying that by default, allegro uses utod to convert the files. A lot of people don't take time to read. My friend Jeff being one of them. He complained for about 2 hours straight today about not being able to compile this. After getting on my last nerve, I finally, sent him utod.exe. He was using MinGW. r30y162part2 |
A J
Member #3,025
December 2002
|
i have been using msvc and mingw for a long time now.. i just ignore it and everything compiles fine. what are the main reasons why MSVC's make can not be used ? ___________________________ |
Kitty Cat
Member #2,815
October 2002
|
It doesn't use the same symantics and syntax as GNU make, and I don't think we have any devs that understand it and could keep it up to date. The good thing about GNU make is that, even across different platforms, the symantics are the same.. you just use different OS calls. -- |
Evert
Member #794
November 2000
|
Quote: If you plan on compiling it for MSVC, you of course must use gnu make to do so, but many people use MinGW, while building Allegro requires CR/LF formatting. The tool to do this, UTOD, isn't distributed with MinGW. It's DJGPP.
Well, the compiler should be able to handle both formats. The only program that I know of that is too broken to recognize both is notepad. Besides, the files in the ZIP archive already contain CR/LF endings. This is the only difference (contents-wise) between the .zip and .tar.gz source distributions. |
A J
Member #3,025
December 2002
|
is there a way to test for the presence of utod ? ___________________________ |
Gideon Weems
Member #3,925
October 2003
|
zesensei
Member #4,410
March 2004
|
Hi, |
Evert
Member #794
November 2000
|
Do you have xmessage installed on your system? |
zesensei
Member #4,410
March 2004
|
Seems xmessage isn't installed by default on Mandrake 10.0 . |
Elias
Member #358
May 2000
|
Maybe we should use a simple system() call as in Julien's original patch? Either that, or Peter will have to fix it and handle SIGPIPE or something properly -- |
Evert
Member #794
November 2000
|
Quote: Maybe we should use a simple system() call as in Julien's original patch? I'd try to use popen if I wanted to use pipes personally, although I'm not sure why pipes are the way to go in this case. Quote: Either that, or Peter will have to fix it and handle SIGPIPE or something properly Well, yes, I suppose we have to do that if we want to use pipes like this. Hmm... there could be a potential similar problem with get_executable_name() in rare circumstances I suppose... |
Elias
Member #358
May 2000
|
The only reason for pipe's was a security concern, with system("xmessage blah") the "blah" apparently gets visibles somewhere in the /proc filesystem. As I said on [AD].. I don't really see a problem with that personally. -- |
Thomas Fjellstrom
Member #476
June 2000
|
system also goes through your shell, so "blah" should be escaped for shell meta characters. -- |
Elias
Member #358
May 2000
|
Yes, it was execvlp or something, not system, sorry. See the patch by KittyCat on [AD] -- |
|
1
2
|