replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Is there a Silverfrost or Salford C compiler or C++ compiler
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there a Silverfrost or Salford C compiler or C++ compiler

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
Little-Acorn



Joined: 06 Jul 2008
Posts: 111
Location: San Diego

PostPosted: Fri Nov 23, 2012 6:26 am    Post subject: Is there a Silverfrost or Salford C compiler or C++ compiler Reply with quote

Title says it all.

I've used the Silverfrost Ftn95 compiler quite a lot, including its Windows extension, to write Windows programs.

I've seen a few references to a Salford C++ compiler. Is there one?

Or a Salford or Silverfrost C compiler?
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8261
Location: Salford, UK

PostPosted: Fri Nov 23, 2012 9:22 am    Post subject: Reply with quote

Yes. It is scc.exe and can be found in the same folder as ftn95.exe.
It is accessible from a command line or from Plato. See the Plato Help menu.
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2419
Location: Yateley, Hants, UK

PostPosted: Fri Nov 23, 2012 11:27 am    Post subject: Reply with quote

To amplify Paul's answer, you may find certain difficulties accessing the CWPSCC.HLP and SCC.HLP help files if you are using Windows 7. This has certainly been discussed elsewhere in the forum, and it is because Microsoft has stopped providing the old help file reader. You can still download it, but there may be limitations on what runs under 64-bit Win 7.

Google suggests that there are various programs out there to convert HLP to CHM directly.

Eddie
Back to top
View user's profile Send private message
Little-Acorn



Joined: 06 Jul 2008
Posts: 111
Location: San Diego

PostPosted: Fri Nov 23, 2012 10:06 pm    Post subject: Reply with quote

Son of a gun, it was there all the time!

I started it under Plato, and put in the simple little "Hello World" program:

-------------------------------------------
#include <stdio.h>

main()
{
printf("Hello, world! \n\n");
}
-------------------------------------------

...without the dotted lines, of course. Tried to run it, and got the Plato error: "ERROR: SCC is Win32 only."

This is on my Windows Vista laptop.

I'm probably doing something very basic, wrong. Any hints?

I also looked through the HELP a little, looks useful.

Is there any kind of a manual for the SCC compiler, and/or its use in Plato, other than this HELP function?
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Fri Nov 23, 2012 11:16 pm    Post subject: Reply with quote

Do you have a 32 bit or a 64 bit version of Vista?
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2419
Location: Yateley, Hants, UK

PostPosted: Fri Nov 23, 2012 11:18 pm    Post subject: Reply with quote

... and are you trying to build a .NET executable?

Eddie
Back to top
View user's profile Send private message
Little-Acorn



Joined: 06 Jul 2008
Posts: 111
Location: San Diego

PostPosted: Fri Nov 23, 2012 11:49 pm    Post subject: Re: Reply with quote

davidb wrote:
Do you have a 32 bit or a 64 bit version of Vista?


This laptop is 64 bit. I also have a Windows 7 computer (also 64 bit)elsewhere.

Is it possible to tell either computer to run in some kind of "32-bit mode"?


Last edited by Little-Acorn on Fri Nov 23, 2012 11:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Little-Acorn



Joined: 06 Jul 2008
Posts: 111
Location: San Diego

PostPosted: Fri Nov 23, 2012 11:50 pm    Post subject: Re: Reply with quote

LitusSaxonicum wrote:
... and are you trying to build a .NET executable?

Eddie

Just experimenting with the languaqe. I don't really care if it produces a .net or an .exe.
Back to top
View user's profile Send private message
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Sat Nov 24, 2012 12:30 am    Post subject: Re: Reply with quote

Little-Acorn wrote:

Is it possible to tell either computer to run in some kind of "32-bit mode"?


You can try running the SCC.EXE in compatibility mode for Windows XP. This will be 32 bit.

Navigate to the file using Windows explorer.
Right-click and choose "Properties"
Click compatibility tab
Check "Run this file in compatibility mode for"
Choose "Windows XP (Service Pack 2)" from the list
Click Apply and OK.

Then run SCC.EXE from Plato in the way you have tried before.
_________________
Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl
Back to top
View user's profile Send private message
Little-Acorn



Joined: 06 Jul 2008
Posts: 111
Location: San Diego

PostPosted: Sat Nov 24, 2012 5:06 am    Post subject: Reply with quote

Thank you, David! Gave it a try. Unfortunately, I got the same error again, even after doing the Compatibility-mode command as you described.

"ERROR: SCC is Win32 only."

I'll try it again soon.
Back to top
View user's profile Send private message
Little-Acorn



Joined: 06 Jul 2008
Posts: 111
Location: San Diego

PostPosted: Sat Nov 24, 2012 6:10 am    Post subject: Reply with quote

This time I tried it again, telling the downstairs Windows 7 computer to run BOTH Plato and scc.exe, compatibly with WinXP SP2.

It worked! At least, it ran the little "Hello world" program!

Thank you for the help - it paid off!
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8261
Location: Salford, UK

PostPosted: Sat Nov 24, 2012 9:14 am    Post subject: Reply with quote

SCC is Win32 only so you need to select one of the Win32 configurations from the Combo box on the toolbar of Plato. These are "Checkmate Win32", "Debug Win32" and "Release Win32".
Back to top
View user's profile Send private message AIM Address
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2419
Location: Yateley, Hants, UK

PostPosted: Sat Nov 24, 2012 1:07 pm    Post subject: Reply with quote

i.e. not one of the .NET options ....

E
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group