Where is the source corresponding to GPC 20070904?
Where should I find the .gpi files for supplied units (like unit GPC)?
If I install a binary distribution for Windows, is there a follow-up step that must be performed manually? (like compiling GPC.PAS)
Where would I find documentation of the entry points provided by unit GPC?
I downloaded and installed dev_gnu_pascal-1.9.4.13.exe I started with mingw-get-inst-20120426.exe -- It downloaded and installed whatever it wanted.
From the size of dev_gnu_pascal-1.9.4.13.exe I had assumed it included the source of GPC, but I haven't been able to find it.
In http://www.gnu-pascal.de/alpha, there is no gcc-core-3.4.5, and there is no gpc-20070904.
On 14 Jul 2012 at 23:08, Jay Michael wrote:
Where is the source corresponding to GPC 20070904?
http://www.math.uni.wroc.pl/~hebisch/gpc/
Where should I find the .gpi files for supplied units (like
unit GPC)?
It is supplied as source code.
If I install a binary distribution for Windows, is there a
follow-up step that must be performed manually? (like compiling GPC.PAS)
Read the readme PDF file and other docs supplied with the dev+gnu-pascal package.
Where would I find documentation of the entry points provided
by unit GPC?
I downloaded and installed dev_gnu_pascal-1.9.4.13.exe I started with mingw-get-inst-20120426.exe -- It downloaded
and installed whatever it wanted.
From the size of dev_gnu_pascal-1.9.4.13.exe I had assumed
it included the source of GPC, but I haven't been able to find it.
In http://www.gnu-pascal.de/alpha, there is no gcc-core-3.4.5, and
there is no gpc-20070904.
http://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.5/ http://www.math.uni.wroc.pl/~hebisch/gpc/
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/
Le 16/07/2012 10:44, Prof A Olowofoyeku (The African Chief) a écrit :
On 14 Jul 2012 at 23:08, Jay Michael wrote: http://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.5/
This is the original FSF version
a version patched specially for mingw can be found at
http://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/Version3/Previous...
(as explained there this source file is unmodified when going to last version 3 gcc for mingw, namely 3.4.5-20060117-3)
Maurice
--- On Mon, 7/16/12, Prof A Olowofoyeku (The African Chief) chief@greatchief.plus.com wrote:
On 14 Jul 2012 at 23:08, Jay Michael wrote:
Where should I find the .gpi files
for supplied units (like
unit GPC)?
It is supplied as source code.
I should have asked, Where does the compiler look for .gpi files if they aren't in the current default directory?
Are the .gpi files for all supplied/standard units supposed to be in "GPC/units"? Is each .gpi file supposed to be in the same directory as the source file? (So some will be in "GPC/lib/gcc/mingw32/3.4.5/units")
I found the section in GPC/gnu_pascal_readme.pdf that talked about, on first using the IDE, building "GPC/units/build_units.pas". I'd rather not use the IDE.
If I want to compile "build_units.pas" from the command line, what will cause "gpc" to put each .gpi file in the same directory as the corresponding source file? How will "gpc" even find the source files that are not in my current default directory?
I've been running gpc by specifying the path to the executable (rather than by updating my environment PATH). I found that even when I specified enough switches to get it to look somewhere else for include files and .gpi files, all new .gpi and .o files were deposited in my current default directory. (That happened to be exactly what I wanted -- I didn't want to foul the distribution directories with my experiments.)
I've explored the various "-print" options to gpc (like "-print-search-dirs"). Even if I run GPC/setgpc.bat, I can't get gpc to admit it's going to search GPC/units.
Le 17/07/2012 05:53, Jay Michael a écrit :
If I want to compile "build_units.pas" from the command line,
what will cause "gpc" to put each .gpi file in the same directory as the corresponding source file? How will "gpc" even find the source files that are not in my current default directory?
I've been running gpc by specifying the path to the executable
(rather than by updating my environment PATH). I found that even when I specified enough switches to get it to look somewhere else for include files and .gpi files, all new .gpi and .o files were deposited in my current default directory. (That happened to be exactly what I wanted -- I didn't want to foul the distribution directories with my experiments.)
from the manual gpc.pdf in the directory dev_gpc/info in the section 5.1 GPC options besides those of GCC
--unit-path=dir[:dir...] Search the given directories for units and object files. --object-path=dir[:dir...] Search the given directories for object files. --unit-destination-path=dir Place compiled units (GPI and object files) into the directory dir. The default is the current directory. --object-destination-path=dir Place compiled object files (e.g., from C files, but not from Pascal units) into the directory dir. The default is the directory given with ‘--unit-destination-path’. --executable-path=dir Place the executable compiled into the directory dir. The default is the main source file’s directory.
You probably should have a look to this manual
Maurice