Author Topic: CoderStudio  (Read 1114 times)

Manos

  • Moderator
  • Regular Member
  • *****
  • Posts: 45
CoderStudio
« on: February 05, 2019, 06:25:48 AM »
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.
« Last Edit: February 18, 2019, 05:12:50 AM by Manos »

Vortex

  • Member
  • *****
  • Posts: 2016
Re: CoderStudio
« Reply #1 on: February 07, 2019, 06:10:57 AM »
Hi Manos,

Thanks. My setup contains C:\pcc32\include and C:\pcc32\lib

Building a quick example :

Code: [Select]
#include <stdio.h>
int main()
{
 printf("Hello world!\n");
 return 0;
}

Code: [Select]
pcc32.exe /c /I.\include Hello.c
Link32.exe /SUBSYSTEM:CONSOLE /LIBPATH:.\lib Hello.obj msvcrt.lib

The executable is 3584 Bytes.

Manos

  • Moderator
  • Regular Member
  • *****
  • Posts: 45
Re: CoderStudio
« Reply #2 on: February 07, 2019, 06:14:12 AM »
Thank you Vortex.

But the executanle is big!
Why ?

Manos.

Vortex

  • Member
  • *****
  • Posts: 2016
Re: CoderStudio
« Reply #3 on: February 07, 2019, 06:34:02 AM »
Hi Manos,

Here are the sections and the sizes :

Code: [Select]
.text 400h
.rdata 200h
.data 400h
.bss  0h

The DOS stub is 400h I didn't merge the sections.

Manos

  • Moderator
  • Regular Member
  • *****
  • Posts: 45
Re: CoderStudio
« Reply #4 on: February 07, 2019, 07:11:32 AM »
Vortex.

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

Manos.