Mail Archives: djgpp/2005/02/25/11:46:04
Radical NetSurfer a écrit:
> I downloaded and installed
>
> 2-24-2005 5:14 11,249,492 dev_gnu_pascal-1.9.4.4.exe
>
> under Win95 and its working fine as such...
>
> I was wondering however, say I just wanted to create Console
> or DOS applications, and not necessarily have any of the Windoze
> overhead support... and I already had 2.81, 2.95x, installed...
> prefer to use my own DOS editor, etc.,
> so I'd just need the proper dos-level compiler and necessary files,
>
> What would be the best way to go then?
>
> Whice one package would I then need to install ?
>
> 2-24-2005 5:20 1,937,566 devpas_gpc_1.9.4.4.zip
Those compilers are for mingw32/cygwin gcc backend
>
> I'd just have to follow the instructions for integrating it into my
> existing DJGPP configuration ??
>
> I would also, certainly, still expect to be able to compile regular
> GCC C/C++ projects without any inconvenience...
>
> Or is is best to duplicate it just for Pascal?
If you have already a working DJGPP setup, goto the directory
http://gnu-pascal.de/contrib/maurice/
grab there the last controlled well working version of gpc for DJGPP, currently
gpc-20041218-gcc-323.i586-pc-msdosdjgpp.zip
it is updated roughly every two monthes currently and maintained under the fixed link
gpc323b.zip
in this directory
Install it as usual in your djgpp tree.
You need to have installed the same version of gcc, namely gcc323b.zip from
the usual DJGPP mirrors, because gpc calls somethimes (in a hidden way) gcc to compile
some inner files. In fact you need only the gcc files that this gcc version
installs in the directory %DJGPP%\lib\gcc-lib\djgpp\3.23
You can compile concurrently C/C++ projects with the same version of gcc.
If you prefer more recent versions of gcc (the lastest presently is gcc343b), just
install the more recent version above the older: i.e. install first gcc323b.zip
then gcc343b.zip (and gpp434b.zip ...), ignoring messages about overwriting gcc.exe etc
The two will work concurrently because the compilers are installed in different
directories labelled by the version number. When gpc needs to compile some inner C programs
it will found the right version of gcc in the right directory.
You can grab also some other useful djgpp files in the directory
http://gnu-pascal.de/djgpp/
which maintains a minimal working setup for gpc working under DJGPP:
you should have already many of them from your djgpp setup.
Maurice
--
Maurice Lombardi
Laboratoire de 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 DOT Lombardi AT ujf-grenoble DOT fr
- Raw text -