[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Pascal question



Hi,

I have installed the pascal package and downgraded my gcc to 2.7.2.1
for compatibility reasons. In the beginning I got some errors concerning
files the package could find By linking then I got through that stage 
.Now I am getting the following errors


garfield:/usr/home/guest$ gpc program~pdp~.txt 
ld:program~pdp~.txt: file format not recognized; treating as linker script
ld:program~pdp~.txt:1: parse error

Running the strace command gives

access("/usr/lib/gcc-lib/i486-linux/2.7.2.1/crtn.o", R_OK) = 0
access("/usr/lib/gcc-lib/i486-linux/2.7.2.1/ld", X_OK) = -1 ENOENT (No
such file or directory)
access("/usr/lib/gcc-lib/i486-linux/ld", X_OK) = -1 ENOENT (No such file
or directory)
access("/usr/lib/gcc/i486-linux/2.7.2.1/ld", X_OK) = -1 ENOENT (No such
file or directory)
access("/usr/lib/gcc/i486-linux/ld", X_OK) = -1 ENOENT (No such file or
directory)
access("/usr/i486-linux/bin/i486-linux/2.7.2.1/ld", X_OK) = -1 ENOENT (No
such file or directory)
access("/usr/i486-linux/bin/ld", X_OK)  = -1 ENOENT (No such file or
directory)
fork()                                  = 1160
wait4(-1, ld:program~pdp~.txt: file format not recognized; treating as
linker script
ld:program~pdp~.txt:1: parse error
[WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 1160
--- SIGCHLD (Child exited) ---
_exit(1)                                = ?

It is looking for the command ld in /usr/lib/gcc... and can't find

Can anyone tell me what is going on ?
The program is not my own but the person who gave it to me told me it had
no bugs.

                   Any help will be appreciated 
                                    Thanks 
                                       George 






-------------------------------------------------------------------------------
George Kapetanios
Churchill College
Cambridge, CB3 0DS    E-Mail: GK205@cus.cam.ac.uk
U.K.                  WWW: http://garfield.chu.cam.ac.uk/~gk205/work_info.html
-------------------------------------------------------------------------------



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: