Well the subject sort of says it all. I wonder if this is possible. I tried the Dev-Cpp IDE for C++ in Cygwin and it appears that it works and is smart enought to deal with the Windows path and of the file name and compiler program and still act like it wasd running in a Unix environment but...
If I try the same thing in Dev-Pas in Cygwin and gpc when I try to compile the tetris example it seems the it finds windres properly but the file name for input gets jumbled because of windows slashes vs unix slashes:
Compile lo tab Building resource file... C:\cygwin\bin\windres -i C:\dev-pascal\examples\tetris\rsrc.rc -o c:\dev-pa~1\examples\tetris\rsrc.o
Resource Tab gcc: C:dev-pascalexamplestetrisrsrc.rc: No such file or directory gcc: warning: `-x c' after last input file has no effect gcc: no input files /usr/bin/windres: no resources
This is probably OT for this group but I thought maybe since the Chief is involved in both I might sneak through.
Any suggestion on this will be greatly appreciated.
bk
On 2 Nov 2006 at 22:08, Brian Keener wrote:
Well the subject sort of says it all. I wonder if this is possible. I tried the Dev-Cpp IDE for C++ in Cygwin and it appears that it works and is smart enought to deal with the Windows path and of the file name and compiler program and still act like it wasd running in a Unix environment but...
If I try the same thing in Dev-Pas in Cygwin and gpc when I try to compile the tetris example it seems the it finds windres properly but the file name for input gets jumbled because of windows slashes vs unix slashes:
Compile lo tab Building resource file... C:\cygwin\bin\windres -i C:\dev-pascal\examples\tetris\rsrc.rc -o c:\dev-pa~1\examples\tetris\rsrc.o
Resource Tab gcc: C:dev-pascalexamplestetrisrsrc.rc: No such file or directory gcc: warning: `-x c' after last input file has no effect gcc: no input files /usr/bin/windres: no resources
This is probably OT for this group but I thought maybe since the Chief is involved in both I might sneak through.
Any suggestion on this will be greatly appreciated.
Cygwin can be supported. It would require translating all paths (i.e., backslash ('') to front slash ('/'), or backslash ('') to double backslash ('\')) before passing to the compiler and/or other tools. I am not proposing to do this anytime soon, but the DevPas sources are there, and so anyone who needs that functionality can implement it.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/