Hallo guys!
I have tried just for fun to work with FreeDOS 1.2 and djgpp to write some
programs in c.
But when i try to access arguments argv[] from (example)
Code:
int main(it argc, char *argv[]){
.......
result = strcmp(argv[1], "/?");
to try
Code:
int main(it argc, char **argv){
has the same results.
the source will compile and link without errors, but if i call the exe the
Programm will crash with SIGSEGV as an error.
By other compilers the same code works fine.
Where lies the rabbit in the pepper?