[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] gcc and -o *.prg or *.app



> > I'm using gcc 2.95.3 and newest mintlibs
> > and I'm using draco's startup code insteada of orginal gcc startup code
> 
> To use the startup code correctly you must pass the -nostartfiles option
> to gcc and the first object module must be the startup code then (or you
> can explicitly specifiy the entry point to the executable by -Wl,--entry
> -Wl,<symbol>).

I know and I'm using it

> > $ gcc myprog.c -o myprog.prg
> >
> > and myprog.prg size is about 80KB
> >
> > and when I do:
> >
> > $ gcc myprog.c -o myporg.app
> >
> > myprog.app size is about 8KB
> >
> > What (and where) is the difference?
> 
> There is no difference. The extension doesn't matter at all.

But why progs have diffrent size?

Adam Klobukowski