View Full Version : Help with Pocket GCC
DHARAI
11-02-2003, 11:44 AM
Could anyone tell me how to compile a simple dos style console app with this compiler. I'm a student and just want to write simple C code. This compiler is new and doesn't have any documentation. Thanks for any help.
DHARAI
11-03-2003, 07:11 PM
I have a basic source file test.cpp
#include<stdlib.h>
int
main()
{
printf("hello");
return 0;
}
and I'm running this modification to the menu.bat file
\pgcc\cc1plus \pgcc\test.cpp -o \pgcc\test.s -I \pgcc\include -include \pgcc\fixincl.h
\pgcc\as \pgcc\test.s -o \pgcc\test.o
\pgcc\ld \pgcc\test.o -o \pgcc\test.exe -L \pgcc\lib -l cpplib -l corelibc -l coredll -l aygshell -l runtime -l portlib
What am I doing wrong?
DHARAI
11-07-2003, 07:05 AM
Damn I was so looking at the problem the wrong way, the console app included with pocket gcc comes from:
http://www.symbolictools.de/public/pocketconsole/index.htm
They also have an sdk that works with evc++[/url]
vBulletin® v3.8.9, Copyright ©2000-2019, vBulletin Solutions, Inc.