Re: [hatari-devel] AHHC Project files (was: Bug report: AHCC not working anymore with GEMDOS emulation)

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Sonntag, den 22.01.2012, 02:49 +0200 schrieb Eero Tamminen: 
> Hi,
> 
> On lauantai 21 tammikuu 2012, Matthias Arndt wrote:
> > Am Freitag, den 20.01.2012, 23:10 +0200 schrieb Eero Tamminen:
> >>>> * AHCC GUI version compiles and creates a working binary
> >> 
> >> Has always worked for me.  I haven't used the command line version.
> > 
> > Simply drop the .PRJ file on it to compile. Worked perfectly!
> 
> Hm.  In the GUI I always need to first select in the settings
> "-Iinclude" before things work, but with the TTP version it
> doesn't seem to proceed even that far.
> 
> When I drop c:\math\primes.prj on c:\ahcc_p.ttp, according to
> GEMDOS trace, AHCC first opens primes.prj, and then it tries to
> open following files, in this order:
> - primes.prjprimes.ttp
> - primes.prjprimes.o
> - primes.prjprimes.c
> 
> which all obviously fail, so finally it complains about not
> finding the last one.
> 
> The primes.prj content is this, and it works fine when I load
> it from the GUI:
> -------------
> primes.ttp
> =
> ahcstart.o
> primes.c
> ahccstdi.lib
> -------------
> 
> I think AHCC is buggy.

It is not, you just have to add some more information in the project
file like this to find the paths:

I never know which include paths are correct, it changes at times. Ask
Henk Robbers for more information. He normally replies within days if
not hours.

A typical project file of mine looks like this:

wizzcat.tos
..C [-isinclude]
..C [-uj]
=
ahcstart.o
main.c
wizzcat.s
ahccstdi.lib

Matthias
-- 
Matthias Arndt <marndt@xxxxxxxxxxxxxx>
PGP-Key: http://www.final-memory.org/files/marndt.asc
Jabber: simonsunnyboy@xxxxxxxxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/