News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

CoderStudio

Started by Manos, February 05, 2019, 06:25:48 AM

Previous topic - Next topic

Manos

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.

Vortex

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.

Manos

Thank you Vortex.

But the executanle is big!
Why ?

Manos.

Vortex

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.

Manos

Vortex.

You are right.
I builded your example and has the same size.
Link32 merge the sections by itself.

Manos.