Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AHCC V3.b5

0 views
Skip to first unread message

Henk Robbers

unread,
Dec 8, 2009, 9:28:43 AM12/8/09
to

LS

AHCC is a Pure C compatible C compiler for GEM.

There is a new version available on my homepage (see sig)

Changes:

Shell:
Very, very usefull:
New menu entry Project->Edit ALT+P
Loads the current projectfile in the editor.
Open->Open .P* removed.

menu entry 'Find selection in project' now also in the journal.

KIT: button for option -*u (default .super in assembly)

Compiler:
Improved include file lookup.
Now Teradesk compiles directly from its own directory.
Teradesk compiles without 'inherit options'.
The need for setting a include dir in the KIT is almost
never needed when -I's are in the project file.
This is also beneficial for AHCC_PRJ.TTP. There the default
to ainclude is removed.

Made a lot of error/warning messages a lot more readable.

Completely forgot about relative long branches in the
output phase. :-( Fixed.

Fixed a regression and a closed loop while generating switch
tables. (related to allowing long 'case' constants)
It happened when a case value forms a negative short.

typechecking of call's:
p(); or p(void); /* declaration */
........
p(); /* call */
Is no longer warned. The mixing of old and new syle is silently
accepted when no arguments are involved.

Same for declarations:
p() or p(void);
followed by
p(void){...} or p(){...}

Bugfixes for rare cases involving boolean comma expressions
and pushers.

Assembler:
Fixed ordinal in "out of range" message for shifts.

Fixed a serious regression when combining C and Assembly in a file.
(message: CE: invalid asm area number)

Accept include filename between ampersands.
For the moment the warning persists and can be ignored.

--
Groeten; Regards.
Henk Robbers. http://members.chello.nl/h.robbers
Interactive disassembler: TT-Digger; http://digger.atari.org
A Home Cooked C compiler: AHCC; http://ahcc.atari.org

paulwratt

unread,
Dec 19, 2009, 3:56:51 AM12/19/09
to
Thanks for the update, I will be testing again, TeraDesk and HighWire

Thin include fixes are great..

Paul

paulwratt

unread,
Dec 19, 2009, 5:26:52 AM12/19/09
to
(With the b6) There still seems to be an issue with AHCC finding
files, it is a case thing

I am using AHCC from FAT drive C: (supports: upper case only)

The TeraDesk folder is on a MINIX partition E: (supports: upper case
and lower case and mixed case)

When the file names are all upper case as from the zip, AHCC cannot
find the Project files listed at the bottom of the DESKTOP.PRJ file,
when these are rem'd out, it cannot find the .C files.

When it says the files it cannot find, it always prints them in lower
case.

When all file names are lower case (in the file system), the files are
found (ARAnyM hostfs: lower case)

Compiling "btst.s" causes a crash, XaAES outputs:
pid 66 (AHCC): BUS ERROR:
User PC=163C856, Address: 0
(basepage=160E000, text=160E100, data=16519E8, bss=1663BB2)

The test system is EasyMiNT 1.70 for ARAnyM (ZIP from EasyMiNT page,
uses MiNT 1.16.3)

I will try the same AHCC and source tree using standard AFROS setup
(confirmed, same problems)

Paul

Henk Robbers

unread,
Dec 19, 2009, 9:22:02 AM12/19/09
to
paulwratt wrote:

>
> When all file names are lower case (in the file system), the files are
> found (ARAnyM hostfs: lower case)
>

There you are.

All filenames, both in project file and #include in the source
are lower case. Works on TOSFS.
Works also on case sensitive or case preserving file systems
but only of course if all relevant filenames in the fs are lower case.
Mixed case makes things unpredictable.

I use a ZIP drive for transfering AHCC et al to my Linux box
to a case sensitive fs.
I can configure mount to treat all filenames on the ZIP as
lower case. So that is what I do.

> Compiling "btst.s" causes a crash, XaAES outputs:
> pid 66 (AHCC): BUS ERROR:
> User PC=163C856, Address: 0

Oops!!

> (basepage=160E000, text=160E100, data=16519E8, bss=1663BB2)
>

Another test on TT needed :-)

paulwratt

unread,
Dec 19, 2009, 9:33:41 AM12/19/09
to
On Dec 20, 1:22 am, Henk Robbers <h.robb...@chello.nl> wrote:
> paulwratt wrote:
>
> > When all file names are lower case (in the file system), the files are
> > found (ARAnyM hostfs: lower case)
>
> There you are.
>
> All filenames, both in project file and #include in the source
> are lower case. Works on TOSFS.
> Works also on case sensitive or case preserving file systems
> but only of course if all relevant filenames in the fs are lower case.
> Mixed case makes things unpredictable.
>
> I use a ZIP drive for transfering AHCC et al to my Linux box
> to a case sensitive fs.
> I can configure mount to treat all filenames on the ZIP as
> lower case. So that is what I do.
>
I will try using the TOS drive again. I do know that case is an issue
when using MONST, but that it does work with a MINIX partition. (maybe
that is just a long filename issue)

I will try a test with the lower case file names on the MINIX, and the
EXT2, but from what you say, they will work..

> > Compiling "btst.s" causes a crash, XaAES outputs:
> > pid 66 (AHCC): BUS ERROR:
> > User PC=163C856, Address: 0
>
> Oops!!
>
> > (basepage=160E000, text=160E100, data=16519E8, bss=1663BB2)
>
> Another test on TT needed :-)
>

:) taa

Paul

0 new messages