CoderStudio has been updated.
I updated the include files and the pcc32.exe to avoid hanging.
This package includes Tools for Windows 32 bit programming. A plain C compiler 32 bit, (pcc32), a Linker 32 bit, (Link32) and a Resource compiler 32 bit, (rc32).
There is also an IDE that supports the above Tools.
Download the package from: http://www.manoscoder.gr/mysite/coderstudio.htm
Any suggestion is welcome.
Manos.
Hi Manos,
Thanks. My setup contains C:\pcc32\include and C:\pcc32\lib
Building a quick example :
#include <stdio.h>
int main()
{
printf("Hello world!\n");
return 0;
}
pcc32.exe /c /I.\include Hello.c
Link32.exe /SUBSYSTEM:CONSOLE /LIBPATH:.\lib Hello.obj msvcrt.lib
The executable is 3584 Bytes.
Thank you Vortex.
But the executanle is big!
Why ?
Manos.
Hi Manos,
Here are the sections and the sizes :
.text 400h
.rdata 200h
.data 400h
.bss 0h
The DOS stub is 400h I didn't merge the sections.
Vortex.
You are right.
I builded your example and has the same size.
Link32 merge the sections by itself.
Manos.