We do not have any Djgpp libraries or example programs available yet... But we would like to provide you with all the information we have regarding Djgpp from emails we recieved and from posts on the forum:

---------------
Also I noticed an error in the sample "helloworld.c" included with the V2OS SDK. The correct syntax for the include line is: 
#include <v2os.h>
not
#include "v2os.h"
I could not compile the hello world program w/o that error fixed. Then once it was fixed I got syntax errors for "v2os.h" and a reference error when I tried to "make" my helloworld.o into an exe. I used 2 compilers, DJGPP and Borland 4.5 (old school!). The common error was "undefined reference to 'term_puts'"

---------------

Drakkin  Topic started 11-12-99 17:38 CET         

To get the GCC examples working for DJGPP, edit the loader.s file as follows:
.align 16
should be
.align 15

call main
should be
call _main

That's it! I honestly don't know if changing the align will have ill effects down the road, but it worked for the example apps. Now I can FINALLY start doing something. :) 
---------------
Hrm... no, I am using DJGPP, but doing that didn't work, I am still getting an error: undefined reference to 'term_puts' when I try to compile the hellowor.c
---------------
I'm not sure what to tell you then, as changing the above in my loader.s file allowed me to make app on the example programs, as well as the examples with mw_term lib
---------------
The reason we have to change the align is because it is interperated differently on different systems. In fact, we should be using align 4 (4 lower bits must be 0) which is equivalant to align 16 (16 byte boundries).
At least I think so, not entirely sure, so if someone else has it figured out, please post
---------------
Garthnak  Topic started 11-12-99 03:55 CET         
--------------------------------------------------------------------------------
Well, it's really cool that the gcc libs are out....so that means it should be easy to port to DJGPP, correct? Pardon my laziness, but I don't feel I'm familiar enough with the base code to port it. If we could get some DJGPP examples and libs, that would be very cool :)
--Garthnak (ICQ: 16172478) 
 
Drakkin   posted 11-12-99 04:59 CET             
--------------------------------------------------------------------------------
I D/Led the GCC libs and DJGPP parsed the code with 0% errors. My problem was when it came time to port the .EXE DJGPP made to an APP file, the EXE2APP program reported:
"This tool only works with the NEW format exes..." 

Of course, just renaming the file to APP didn't fly, so I guess we'll just have to sit and wait for the EXE2APP program to get an update. :/
 
Garthnak   posted 11-12-99 07:51 CET             
--------------------------------------------------------------------------------
Well, with DJGPP, I attempted to do a "make app", just to see if it would work, but I've got an error:
[blockquote]loader.s:4: Error: Alignment too large: 15 assumed[/blockquote]
Now, I looked at the makefile code, and I realize things will have to be changed to do DOS things, but what it did should have still been compatible. *shrug* Not that I know enough assembler to figure out that error. 

