This day brought me nearly to a nervous break down.
Today I work on win98 where a driver is installed to read my NTFS-Partitions, works perfectly.
I ported my application to win98, urgh...
The first try's were promissing, Dev-CPP work without new Installation, also gcc -v worked perfectly....
But as soon I wanted to comple someting I had some very strange errors, sense CPP0 does'nt know parms.
I found out, there is a problem in GCC in piping, seems under win9x.
It was not possible to get the compile working like that.
(I tried programs on d:)
So I installed Dev-Cpp, and uninstalled, and reinstalled in all fashion you can think.
At the beginning of my tests, I compiled some dos-console-progamms for tests, attention, I had to restart the system several times...
But the I could compile and run Hello world program with the correct options .
As soon, as I tryed to compile my suff on drive d: I had very strange errors.
So I copied all to c:
I went throug all programs, from Helloworld, to some PCRE-Stuff. I remarked the linker was unable to include libs from drive d:
(there are several kind of includes, may be some work)
When i copied the libs on c: the compiles/links were ok.
So I took my bigger Project, copied it also on c:
strange errors as program or file not found (with a make file which did work perfectly under win2k)
After a lot of trials, I found out, that the input string to the linker was cut off!
Until I found out that, i took a librariy from the project options, added it, took it off, added it on a other place. In the first moment i tought, it was something wrong with the libraries...
Ok, now it compile and links, executes, gdb works also
(only my program makes very strange aborts on win98, that was the reason to install Dev-cpp here...)
I write that, because some people also had very strange errors, not just libs missing...
May be this gives some ideas
have a nice weekend
Patrick
P.S.
Mingw has an interesting FAQ, like how to make DLL's and so on, really interesting stuff.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
forgot to say, I had troubles
under win98, with gcc 2.95 (still dev-cpp 4.9.6.0)
- Piping problems in GCC
- linker input cut off (GCC)
- Problems in GCC when references to other drive than OS.
(GCC location didn't matter)
Patrick
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Guy,
This day brought me nearly to a nervous break down.
Today I work on win98 where a driver is installed to read my NTFS-Partitions, works perfectly.
I ported my application to win98, urgh...
The first try's were promissing, Dev-CPP work without new Installation, also gcc -v worked perfectly....
But as soon I wanted to comple someting I had some very strange errors, sense CPP0 does'nt know parms.
I found out, there is a problem in GCC in piping, seems under win9x.
It was not possible to get the compile working like that.
(I tried programs on d:)
So I installed Dev-Cpp, and uninstalled, and reinstalled in all fashion you can think.
At the beginning of my tests, I compiled some dos-console-progamms for tests, attention, I had to restart the system several times...
But the I could compile and run Hello world program with the correct options .
As soon, as I tryed to compile my suff on drive d: I had very strange errors.
So I copied all to c:
I went throug all programs, from Helloworld, to some PCRE-Stuff. I remarked the linker was unable to include libs from drive d:
(there are several kind of includes, may be some work)
When i copied the libs on c: the compiles/links were ok.
So I took my bigger Project, copied it also on c:
strange errors as program or file not found (with a make file which did work perfectly under win2k)
After a lot of trials, I found out, that the input string to the linker was cut off!
Until I found out that, i took a librariy from the project options, added it, took it off, added it on a other place. In the first moment i tought, it was something wrong with the libraries...
Ok, now it compile and links, executes, gdb works also
(only my program makes very strange aborts on win98, that was the reason to install Dev-cpp here...)
I write that, because some people also had very strange errors, not just libs missing...
May be this gives some ideas
have a nice weekend
Patrick
P.S.
Mingw has an interesting FAQ, like how to make DLL's and so on, really interesting stuff.
forgot to say, I had troubles
under win98, with gcc 2.95 (still dev-cpp 4.9.6.0)
- Piping problems in GCC
- linker input cut off (GCC)
- Problems in GCC when references to other drive than OS.
(GCC location didn't matter)
Patrick
Patrick you didn't reply to this:
http://sourceforge.net/forum/forum.php?thread_id=792584&forum_id=48211
Derek