View previous topic :: View next topic |
Author |
Message |
Little-Acorn
Joined: 06 Jul 2008 Posts: 111 Location: San Diego
|
Posted: Fri Nov 23, 2012 6:26 am Post subject: Is there a Silverfrost or Salford C compiler or C++ compiler |
|
|
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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8261 Location: Salford, UK
|
Posted: Fri Nov 23, 2012 9:22 am Post subject: |
|
|
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 |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2419 Location: Yateley, Hants, UK
|
Posted: Fri Nov 23, 2012 11:27 am Post subject: |
|
|
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 |
|
 |
Little-Acorn
Joined: 06 Jul 2008 Posts: 111 Location: San Diego
|
Posted: Fri Nov 23, 2012 10:06 pm Post subject: |
|
|
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 |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Fri Nov 23, 2012 11:16 pm Post subject: |
|
|
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 |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2419 Location: Yateley, Hants, UK
|
Posted: Fri Nov 23, 2012 11:18 pm Post subject: |
|
|
... and are you trying to build a .NET executable?
Eddie |
|
Back to top |
|
 |
Little-Acorn
Joined: 06 Jul 2008 Posts: 111 Location: San Diego
|
Posted: Fri Nov 23, 2012 11:49 pm Post subject: Re: |
|
|
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 |
|
 |
Little-Acorn
Joined: 06 Jul 2008 Posts: 111 Location: San Diego
|
Posted: Fri Nov 23, 2012 11:50 pm Post subject: Re: |
|
|
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 |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Sat Nov 24, 2012 12:30 am Post subject: Re: |
|
|
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 |
|
 |
Little-Acorn
Joined: 06 Jul 2008 Posts: 111 Location: San Diego
|
Posted: Sat Nov 24, 2012 5:06 am Post subject: |
|
|
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 |
|
 |
Little-Acorn
Joined: 06 Jul 2008 Posts: 111 Location: San Diego
|
Posted: Sat Nov 24, 2012 6:10 am Post subject: |
|
|
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 |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8261 Location: Salford, UK
|
Posted: Sat Nov 24, 2012 9:14 am Post subject: |
|
|
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 |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2419 Location: Yateley, Hants, UK
|
Posted: Sat Nov 24, 2012 1:07 pm Post subject: |
|
|
i.e. not one of the .NET options ....
E |
|
Back to top |
|
 |
|