Hello,
I am able to build the zipped gpc binary file and when i run it in another machine , it works. But i would like to add the "sysutils.pas" to the units and the corresponding "*.inc" to say,a separate directory "include" in the build directory and then "mak" the binary.
* I am able to add the sysutils to the units directory of the tar.gz file but how do i add the "include" in the binary .tar.gz file?This is the first problem. * Second is , when i gunzip and use it in another directory with this sysutils also zipped,it says "-f-extended-syntax and -Wno-warnings unknown".this doesnot happen when i build the binary without the sysutils added to the units directory.
How do i add such files to the tar.gz then?
Regards, Anu
ANURADHA Srinivasan wrote:
Hello,
The problem was i had done the configure and make in the source directory. I see the gcc directory after i gave them in build directory. The make pascal.bindist runs fine with GNU tar. It stops with an error saying that it cannot remove the 'tmp' directory.I find that it is the last statement in the makefile for the above command and so am going to use the .gz that's created. Thanks for the support.
Regards, Anu
ANURADHA Srinivasan wrote:
Hello ,
Two problems : 1.I don't get a gcc directory in my gp-buil directory. 2.I called make pascal.distbindist in gpc-source\gcc and i get this error. make[1]: Leaving directory `/home/users/anuradas/gpcsrc/gcc-2.95.3/gcc' tar: /dev/rmt/0: Permission denied make: *** [pascal.bindist] Error 1
Can somebody tell me what the problem could be? Thank you. Regards, Anuradha
Frank Heckenbach wrote:
ANURADHA Srinivasan wrote:
Hello ,
Suppose i build GPC on one Sun-solaris 2.6 machine and i copy the
built GPC to another sun-solaris 2.6 machine , it doesnot work.It says gpc-ccp not installed properly.
You need to copy the complete installation (not just the gpc executable), try `make pascal.bindist'.
Also, you'll have to install it in the same directory on the target machine that it was configured for, or set some environment variables (see the install-gpc-binary script).
Frank
-- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html
-- S.Anuradha Generic Data Tools, Alcatel Chennai. Alcanet : 2-757-7123
-- S.Anuradha Generic Data Tools, Alcatel Chennai. Alcanet : 2-757-7123
-- S.Anuradha Generic Data Tools, Alcatel Chennai. Alcanet : 2-757-7123
-- S.Anuradha Generic Data Tools, Alcatel Chennai. Alcanet : 2-757-7123
On 5 Oct 2001, at 12:55, ANURADHA Srinivasan wrote:
Hello,
I am able to build the zipped gpc binary file and when i run it in another machine , it works. But i would like to add the "sysutils.pas" to the units and the corresponding "*.inc" to say,a separate directory "include" in the build directory and then "mak" the binary.
The include file should be in the same directory as sysutils.pas. If you want to keep them elsewhere, then you might need to amend the sources to point to their exact locations.
- I am able to add the sysutils to the units directory of the tar.gz
file but how do i add the "include" in the binary .tar.gz file?
Dunno. Perhaps 'tar' has a switch for this purpose.
This is the first problem. * Second is , when i gunzip and use it in another directory with this sysutils also zipped,it says "-f-extended-syntax and -Wno-warnings unknown".
These are related to conditional directives in 'sysutils.pas'. There shouldn't be any such error messages unless you are using a version of GPC that doesn't understand them.
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Author of Chief's Installer Pro for Win32 Email: African_Chief@bigfoot.com http://www.bigfoot.com/~african_chief/
ANURADHA Srinivasan wrote:
I am able to build the zipped gpc binary file and when i run it in another machine , it works. But i would like to add the "sysutils.pas" to the units and the corresponding "*.inc" to say,a separate directory "include" in the build directory and then "mak" the binary.
In general, it's not recommended to add 3rd party units to the GPC distribution because it might confuse users about what is part of GPC and what not. You might want to install them in a separate directory (say, /usr/local/units) and point GPC to it via `--unit-path=/usr/local/units'.
Frank