![]() |
|
This thread is locked; no one can reply to it.
![]() ![]() |
1
2
|
I'm scared of MinGW, mommy! |
Goodbytes
Member #448
June 2000
![]() |
Ah, look. Here I am, replying without reading the whole thread first... anyways, what I meant to say was that you should use the version of mingw32 that comes with dev-c++. bah. |
23yrold3yrold
Member #1,134
March 2001
![]() |
Cygwin is for Dreamcast programming. -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
Well from the look of it I had to temporarily disable DJGPP to get Dev-C++/MinGW to compile Allegro, but now I get a parse error in ddraw.h. Two errors, actually; both "parse error before 'HMONITOR', in these lines: (sigh) -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
And now I tried straight MinGW (no Dev-C++) to see if I could get the library out of it, and make gives me "Bad command or file name". Can I, like, not have more than one gcc thingamabob on my computer at any given time? I had to take the DJGPP line out of Autoexec.bat just to get MinGW as far as I did .... Installing Cygwin is going to be a riot. I can feel it. -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
Hmmm ... since all this crap uses gnu gcc tools and binutils and all this stuff, can I get Dev-C++ to cross-compile for the Dreamcast, given the right ports of gcc so it compiles for the Dreamcast's SH4 processor(ports that I have)? I'm going to piss around on gcc's home page and learn about this stuff; you guys seem to know a lot about it from somewhere (how did goodbytes know cpp0.exe was new? How? HOW?) -- |
Goodbytes
Member #448
June 2000
![]() |
Oh, I'll tell you how... You see, I recently updated my version of mingw2. Then I noticed a program called 'cpp0.exe.' I thought, "hey, that's new." And that's how. but, seriously, you rally shouldn't be getting ddraw.h errors if you got the new DirectX headers as talked about in readme.mgw. Just make sure that you PATH points to C:\DevCpp\ and not C:\DJGPP\, at least while you're compiling Allegro. Just do this by typing path C:\DevCpp on the command line, and then fix mingw32 + make + make install. Make sure not to open another DOS-box for doing any of this, because as soon as you close your DOS box, the path setting will revert to normal. I mean, it can't really be that hard, can it? I'd come over to your house and show you, but you live kinda far away. Well, not really far... anyway, this is getting pointless |
Matt Smith
Member #783
November 2000
|
mingw32 and djgpp are both versions of gcc, so you need to have just one on the path You seem to have found this out for yourself typing SET will show you your environment settings typing SET PATH=C:\DevCpp;%PATH% will add C:\DevCpp to the 'front' of your path. these settings will only last for the DOS session, which is why they are set in autoexec.bat |
George Foot
Member #669
September 2000
|
I haven't used Mingw32 much, but I created shortcuts on my desktop to launch a command prompt with the path set properly for Mingw32 development. I found this the simplest way of having both compilers installed on the same PC, and you can then be sure that one won't get in the way of the other. But when you launch dev-c++ you probably need to have the path set correctly too -- I don't know much about that. |
23yrold3yrold
Member #1,134
March 2001
![]() |
Nah, Dev-C++ doesn't need the path set. I no longer care for Allegro for Windows (far too much trouble) but I got wind I can use gcc tools ported for the Dreamcast in Dev-C++ or even RHIDE, so I'm going to keep screwing with this and just hope I don't do any permenant damage along the way. -- |
Matt Smith
Member #783
November 2000
|
Yes I have a PIF file for rhide, just so it starts with 50 lines in my favourite font. I would have 2 of these if I used MinGW32 now when DevCpp calls mingw32, it will just call 'gcc' which it will expect to run the one in ming32/bin. It won't do this if it finds gcc.exe in djgpp/bin first. |
23yrold3yrold
Member #1,134
March 2001
![]() |
Well, that confirms what I figured, but it doesn't really tell me how to fix it. Dev-C++ still doesn't require any paths set, though, so if I find some way to overwrite all the MinGW GCC tools with the SH4 ports (no, I'm not blindly trying it; I'm doing some research on dcdev and gnu tools first) then I may have a shot. I can live with 2 gcc's; Dev-C++/Dreamcast and RHIDE/DJGPP. I note, however, that RHIDE requires DJGPP's path set or it won't work. I wonder if I can have 2 Dev-C++'s; one for MinGW and one for SH4 compiling ..... -- |
Matt Smith
Member #783
November 2000
|
With little batch files SETMW.BAT I made up all the filenames of course but do you get the idea? You make custom commands to change the environment to that needed for your target. |
23yrold3yrold
Member #1,134
March 2001
![]() |
I'm a bit fuzzy on what a bathc file even is. Incidentally, here's a reply I (finally) got from the Bloodshed Software forum about mixing Cygwin and Dev-C++: Hey, cool; he had the same idea you did. I think. So I can have DJGPP/RHIDE, MinGW/Dev-C++ (which still won't compile Allegro) and Cygwin/Dev-C++, and all I need to do is run some batch file before using the IDE/compiler? -- |
Peter Hull
Member #1,136
March 2001
|
My experience: windres crashes my WinME system, big style, every time I try to run it. This is with MingW 1.0. Anyone else had this?
|
Derezo
Member #1,666
April 2001
![]() |
I couldn't get the most recent version of allegro to work with the latest version of MingW or Dev-C++. However, I got the last version of allegro to work with both.. "He who controls the stuffing controls the Universe" |
Matt Smith
Member #783
November 2000
|
Chris: And you are set up and ready to go |
23yrold3yrold
Member #1,134
March 2001
![]() |
OK, I tried rem'ing out the two lines in Autoexec.bat for DJGPP, and tried making a DJSET.BAT with these lines: -- |
Bob
Free Market Evangelist
September 2000
![]() |
What kind of warnings? Are you running Win NT or 2000? -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
Just opening RHIDE gives me a window saying 'Warning: your DJGPP environment is not set' and so forth. And I'm running Win98. -- |
Matt Smith
Member #783
November 2000
|
IMPORTANT |
Matt Smith
Member #783
November 2000
|
Another thing, which version of RHIDE are you running ? |
23yrold3yrold
Member #1,134
March 2001
![]() |
RHIDE ver. 1.4.7.8. What do you call the FULL path? C:\DJGPP\bin is the full path. And what line do I add to the batch file to launch RHIDE? -- |
Matt Smith
Member #783
November 2000
|
When I say FULL path I mean you have the WINDOWS and WINDOWS/COMMAND folders in it too, so that DOS can work. SET PATH=C:\DJGPP\BIN;C:\WINDOWS;C:WINDOWS\COMMAND DEVDC.BAT COPY \DEVCPP\CONFIG.DC \DEVCPP\CONFIG DEVMW.BAT COPY \DEVCPP\CONFIG.MW \DEVCPP\CONFIG There! Now Chris can you tell me exact command for starting DEVCPP with a project loaded so I can make these accurate? |
snake eyes
Member #933
January 2001
|
I use Dev-C++ with allegro. However I use cs_mingw_0.4 to compile allegro first. I can't get it to compile with mingw32 that is shipped with dev-c++. I can't remember the website that u can get the version of mingw32 I use but u should be able to search through the forums and find it. That's where I got it from in the first place. some kind chap posted a link in an earlier thread |
|
1
2
|