Jay Michael | 15 Jul 2012 08:08
Picon
Favicon

Windows install

     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.

_______________________________________________
Gpc mailing list
Gpc <at> gnu.de
https://www.g-n-u.de/mailman/listinfo/gpc

Re: Windows install

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.
(Continue reading)

Maurice Lombardi | 16 Jul 2012 11:40
Picon
Picon
Favicon

Re: Windows install

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%20Release_%20gcc-3.4.5-20060117-2/gcc-core-3.4.5-20060117-2-src.tar.gz/download

(as explained there this source file is unmodified when going to last 
version 3 gcc for mingw, namely 3.4.5-20060117-3)

Maurice

--

-- 
        Maurice Lombardi
Laboratoire Interdisciplinaire de Physique,
     (ex Spectrometrie Physique)
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex     FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 63 54 95
mailto:Maurice.Lombardi <at> ujf-grenoble.fr

_______________________________________________
Gpc mailing list
Gpc <at> gnu.de
https://www.g-n-u.de/mailman/listinfo/gpc

(Continue reading)

Jay Michael | 17 Jul 2012 05:53
Picon
Favicon

Re: Windows install

--- On Mon, 7/16/12, Prof A Olowofoyeku (The African Chief) <chief <at> 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
(Continue reading)

Maurice Lombardi | 17 Jul 2012 09:12
Picon
Picon
Favicon

Re: Windows install

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 
(Continue reading)


Gmane