Why are you using DOS based Cross Compiler from Windows.
Quote:
Originally Posted by wolf
I'm developing using VC++ 6.0. The code compiles and links fine using it.
However, it needs to be embedded and the device requires the MS-DOS C51 compiler.
MS-DOS C51????? Never heard of it. C51 compilers are used for cross compilation to 8051 variant microcontrollers. But you are using VC++ 6.0, a Windows-based stuff.
Anyone please correct what Im missing? That really doesnt make sense to me.
:confused:
-Harsha.
You got me wrong Salem ... :-)
Quote:
Originally Posted by Salem
> Anyone please correct what Im missing?
You're missing the fact that its a lot easier to test the code on the PC than some embedded device.
For 95% of the code (if done properly), it really doesn't care where it is run - it will always do the same thing. It means you can get an awful lot of the trivial bugs out of the way before you have to confront the tricky ones which only become apparent on the target.
:D You got me totally wrong Salem.... :D
I know what a cross-compiler is and how helpful it is to eliminate many bugs before the code actually gets into an Emb-Sys.
What I did not understand is the fact that Wolf is using an MS-DOS C51 cross compiler in MS Windows!!!! Why doesnt he use something like uV2 from Keil or something similar (like Raisonnance C51 compiler) thats made for Windows....
Cheers,
Harsha.