Pure C + Mega STE w 68882 + float = won't compile!

C and PASCAL (or any other high-level languages) in here please

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

Carl_R
Atari User
Atari User
Posts: 30
Joined: Sun Apr 23, 2006 10:26 am
Location: Sweden

Pure C + Mega STE w 68882 + float = won't compile!

Postby Carl_R » Wed Jan 23, 2013 7:55 pm

Hi,

Whenever I try to compile a piece of code that contains floats in Pure C on my Mega STE the compiler freezes. The same code compiles on my 1040STFM. I wonder whether this is related to the 68882 FPU that is installed in my Mega STE? I have not ticked boxes for generating FPU code (-8). If it's related to the 68882 then maybe I should pop it out.

Is this a known issue?

Regards,
Carl
Atari Mega STE, 4MB, 68881 FPU, internal UltraSatan, TOS 2.06, Nova adapter + ATI Mach32 (+ Gainward ET4000AX), Midex+, NetUSBee
Atari 1040STFM, 1mb, TOS 1.02, SatanDisk
Atari 520STE, 4mb, TOS switcher with 1.62/2.06, IDE internal HDD, CosmosEx
Atari 130XE, SIO2SD

Dal
Administrator
Administrator
Posts: 4181
Joined: Tue Jan 18, 2011 12:31 am
Location: Cheltenham, UK
Contact:

Re: Pure C + Mega STE w 68882 + float = won't compile!

Postby Dal » Thu Jan 24, 2013 11:15 am

Yeah maybe. Don't forget that Pure C is not being maintained. AHCC is probably worth considering as it is maintained by Henk Robbers and the look and feel is very close to Pure C. I don't know whether the problem you describe exists under AHCC but at least you can be assured that if it does, there is someone who can fix it.
STE: Desktopper case, IDE interface, UltraSatan (8GB + 512Mb) + HXC floppy emulator. Plus some STE's/STFM's

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12810
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: Pure C + Mega STE w 68882 + float = won't compile!

Postby wongck » Thu Jan 24, 2013 12:23 pm

IIRC, I compiled with Pure C on my TT which has a 68882 in it.
May be it's a MSTE issue.
Been more than 2 may be 3 years now I have not used Pure C.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

CarlR
Atariator
Atariator
Posts: 22
Joined: Fri Feb 24, 2012 3:57 pm
Location: Sweden

Re: Pure C + Mega STE w 68882 + float = won't compile!

Postby CarlR » Thu Jan 24, 2013 12:53 pm

I believe AHCC doesn't support float at all, unless I misunderstood something.

It's funny because the same piece of code compiled without problems in Lattice C 5.6.
Mega STE, now solid state and quiet.

CarlR
Atariator
Atariator
Posts: 22
Joined: Fri Feb 24, 2012 3:57 pm
Location: Sweden

Re: Pure C + Mega STE w 68882 + float = won't compile!

Postby CarlR » Thu Jan 24, 2013 12:56 pm

I just realized I have two user IDs on this forum! 8O Carl_R and CarlR. I'm posting from different computers.
Mega STE, now solid state and quiet.

Henk Robbers
AHCC Developer
AHCC Developer
Posts: 39
Joined: Mon Nov 14, 2011 2:37 pm

Re: Pure C + Mega STE w 68882 + float = won't compile!

Postby Henk Robbers » Fri Jan 25, 2013 10:16 pm

Hi

FYI: AHCC (which supports 68881/2) runs only on Atari's that have such a coprocessor via line_A
AHCCST only runs on 68000 and does NOT support floating point.
Reason: I did not write a software floating point package.

Henk Robbers.

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 5180
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Pure C + Mega STE w 68882 + float = won't compile!

Postby simonsunnyboy » Sat Jan 26, 2013 9:38 am

Which is not necessary anyway in 99% of the cases on a plain ST. Probably all ST 3D software uses fixed point arithmetics anyway.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee


Social Media

     

Return to “C / PASCAL etc.”

Who is online

Users browsing this forum: No registered users and 3 guests