Prof. A Olowofoyeku (The African Chief) wrote:
On 18 May 2007 at 22:02, Matthew Blaine wrote:
Hello, I've downloaded and successfully installed Dev+GNU Pascal from: http://gnu-pascal.de/contrib/chief/win32/dev_gnu_pascal-1.9.4.8.exe
I've successfully built build_units.pas, however now I'm having trouble using the gpc compiler. Trying to compile the GrClock.pas example, for instance, works. However, trying to compile a project that includes multiple source files, as opposed to just a single source file, does not work. I receive the following error:
gpc: Internal GPC problem: internal option `--amtmpfile' not given
Is it your own programs, or the test programs supplied with the package?
Are you compiling from the IDE or from the command line?
If compiling from the command line, are you supplying the right switches (e.g., "--automake", etc?).
If you have built build_units.pas, then the compiler is working correctly. As you may notice when you look at the sources, build_units uses a whole load of units. GrClock itself uses two units.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Thank you very much for replying. It is one of my own programs that I've compiled on another Pascal compiler (Free Pascal) before. I'm using the IDE, here's what it shows me under the "Compile Log" tab.
Compiling files : C:\DEV-PA~1\bin\gpc C:\DOCUME~1\Matthew\Desktop\Pascal\Copy\SOLITA~1.PAS -o.\solita~1.exe -fno-inline -s -fno-io-checking -fno-range-checking -fimplicit-result -O1 -Wno-warnings -fno-assertions -fextended-syntax -fignore-function-results -fcstrings-as-strings -fpointer-arithmetic -march=i686 -mcpu=i686 -funit-path=c:\dev-pa~1\units -fexecutable-path=. -funit-destination-path=c:\dev-pa~1\units -Bc:\DEV-PA~1\units -BC:\DEV-PA~1\bin\
And here's what I see under the "Compiler tab".
gpc: Internal GPC problem: internal option `--amtmpfile' not given
Again, thank you for your time. Matthew Blaine
____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/
On 19 May 2007 at 10:04, Matthew Blaine wrote:
[...]
Thank you very much for replying. It is one of my own programs that I've compiled on another Pascal compiler (Free Pascal) before. I'm using the IDE, here's what it shows me under the "Compile Log" tab.
Compiling files : C:\DEV-PA~1\bin\gpc C:\DOCUME~1\Matthew\Desktop\Pascal\Copy\SOLITA~1.PAS -o.\solita~1.exe -fno-inline -s -fno-io-checking -fno-range-checking -fimplicit-result -O1 -Wno-warnings -fno-assertions -fextended-syntax -fignore-function-results -fcstrings-as-strings -fpointer-arithmetic -march=i686 -mcpu=i686 -funit-path=c:\dev-pa~1\units -fexecutable-path=. -funit-destination-path=c:\dev-pa~1\units -Bc:\DEV-PA~1\units -BC:\DEV-PA~1\bin\
And here's what I see under the "Compiler tab".
gpc: Internal GPC problem: internal option `--amtmpfile' not given
Again, thank you for your time.
What is your Windows version? It seems that the problem might be with a path that is too long for Windows to handle ...
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/