Page 1 of 2
Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 3:39 pm
by soilwork
Its an european programming tool... it includes all compilers (C, C++, Java, Basic)
and the C's are ANSI and its got a wicked IDE that runs in Windows, Mac, and Linux
IT OUTPUTS BINARY for either INTEL OR MOTOROLA ARCHITECTURE... WRITTING AN OS IN THIS (C++ or JAVA) would end up into a HIGHLY portable OS...
Just checking if anyone tryed it cuz to me it seems to be the ultimate tool.. though the whole IDE is very different from the basic WINDOZE concept having different help files project windows... everything is different...
so the ideea is: did neone try this?? If not do so.. it might be what uve been looking for... Im checking it out right now,
later
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 3:43 pm
by AlanO
i have heard of that, but not the binary parts, got a url?
Alan
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 4:11 pm
by soilwork
dont belive me
this is what I understood/think...
its
www.codewarrioru.com
thats for some kind of courses.. the product is commercial but try dling it with kazaa or something...
I mean as long as ur not using it for comercial purposes.. u need to find out what it is first... and if its good then Id buy it but no, not yet
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 4:58 pm
by Tim
Sure, it's a compiler and IDE combination. There's nothing new to that.
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 5:51 pm
by dronkit
Maybe you'd like to try "Anjuta"
http://anjuta.sourceforge.net/
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 7:14 pm
by soilwork
If there is nothing new to that, then find me an ANSI C++ compiller with the proper linker to output flat binary files.
the IDE is something I realy dont need as if I REALY need an IDE Ill make one myself for whatever particular tools Im using...
in fact I like the dos borland C++ 3.1 IDE a lot and mostly use BATCH files to get everything done and ready to boot on a disk....
my real problem was indeed an ANSI C++ with linker that outputs flat binary.
and this seemed to be something like it
soes that ANJUTA thing have an ANSI C++ compiller and outputs flat binnaries???
and no DJGPP is NOT ANSI
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 7:18 pm
by dronkit
relax, man
here's what i use:
* make.sh written for the particular case in bash
* gcc/binutils
* vi or anjuta. vi's fine for one or two source files.
Emacs is one i don't really like. I know it's good. Too much for me since i only need to code.
if i need to open 10 source files, it's nice to have an x-windowing system with simple tabs dividing one source from each other. then, i go to my xterm and type ./make.sh
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 7:35 pm
by soilwork
cool though thats GCC that ur using just what DJGPP uses...
I might eventually use GPP
a question:
what else besides the inline asm(that I hate in djgpp) is different in GPP from ANSI C++(Boralnd C++)
thanks.. Im eraly curious
in other words, if I write a program in Borland woudl I be able to compile and run it with gpp??
and did anyone write a simple VGA(graphics 640x480 color maybe RGB too) driver??? cuz right now Im working on a GUI for my OS and Im emulating a video driver with a class using BGI... so if I change to GPP, Ill need an actual video driver thats OS(dos/windoze/linux) independent.
thanks for da help
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 7:41 pm
by dronkit
no prob.
I haven't used borland since Turbo C++ 3.0
anyway, I'm running a freebsd system, so things are a little different for us
your bgi's are equivalent (in unix) to ncurses and the Xwindow library or the glib/gtk libraries.
The thing is.. the code is not *directly* portable (i don't know about any ports or emulator or something like that that could run your bgi drivers... except for vmware/wine
)
but if you write ansi c aplications, you should manage to make your apps 100% portable (i have good experience using my code in visual c++ for more complex applications)
what is never portable are the interfaces for the operating system and it's low-level drivers.
But malloc() exists in all c compilers
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 7:43 pm
by dronkit
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 7:55 pm
by soilwork
thanks for the link but that seems to be more of a game graphic interface like openGL and DirectX to me.. I could be wrong though
was wondering if someone actually wrote somehting in C that could be modified for my needs and wouldnt mind shareing the code...
I will probably write everything myself to be 100% direct and efficient... but if anyone wants to work with me on this project... any help would be apreciatted
just a note: Im no programming gurus .. Ive learned C when I was 9 and C++ when I was 11 and now Im 17... meanwhile I learned some pascal, basic, and assembler(but I am kinda bad in it.. can read code but cant really write-inline asm in C is about the only thing I do.. )
and I love ANSI C++
I got a question:
how do I declare a boolean variable in C++ or just define a datatype as boolean of 1 bit
I know how to define structures and call groups of bits ... but dunno how to do the bool thing
in windows I saw u just use BOOL but in Borland/Turbo C++ I couldnt find anything like that
thanks later
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Mon Sep 23, 2002 8:05 pm
by dronkit
sorry i thought you were looking for a portable graphics library...
i don't know what your needs are, but go to freshmeat.net or google or google groups, i'm sure you will find something that suits your need.
if you need to use bits, just AND the value with a predefined mask:
1001001 -> your value
1000000 -> your mask
----------
1000000 -> result equals to that bit on or off
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Tue Sep 24, 2002 1:16 am
by Pype.Clicker
think i've saw it in Kernighan & Ritchie, so it *should* be ansi
struct with_bits {
int low_nybble:4;
int high_nybble:4;
...
};
And you have a structure that counts two 4-bits integers that you can use as if they were pure integers in your C code: the compiler will do the dull work of masking & shifting everytime it's required.
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Tue Sep 24, 2002 1:18 am
by dronkit
yup, you can even use
variable:1
if you want
Re:Have u heard of CodeWarrior?? Sounds promising
Posted: Tue Sep 24, 2002 1:31 am
by Pype.Clicker
(yeah, i'm 5-starred member, now
)