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

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



Hello!

> 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>).

> $ 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.


Tschuess
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de