From: bogeajis@usgs.gov (Nicole Bogeajis)
To: help-gcc@gnu.org
Subject: compiler problem
Date: Fri, 31 Dec 1999 22:24:00 -0000 [thread overview]
Message-ID: <825rhv$5vn$1@qvarsx.er.usgs.gov> (raw)
Message-ID: <19991231222400.fEWrVD6WYk6ililk9ptwi6xtRWyg9T_4sOA-lxU6XFU@z> (raw)
I have these programs writen in C that were running on our DG systems. We
recently moved them to our Sun system. When i try to run them from this new
location, i get the error
ksh: qw_check.run: cannot execute
It was suggested to me that the reason we are getting this error is that the
program needs to be re-compiled on the Sun. I was "man"-ing the compile
command cc on the Sun to try to come up with a compile command on this
system. The programs were originally compiled with an executable file that
contained the commands.
esqlc $1.sc
cc -o $1.run $1.c -L /usr/opt/ingres/lib -l ingres -l sd -l m
cp $1.run /jaxrpt/RUN/.
~
This compile command does not work on the Sun. I get the error:
$ ./make qw_check_new
ESQL qw_check_new.sc:
cc1: Invalid option `-L'
cc1: Invalid option `-l'
cc1: Invalid option `-l'
cc1: Invalid option `-l'
cc1: m: No such file or directory
cp: cannot access qw_check_new.run
do you know what changes i
need to make to fix this problem...it was suggested that i use gcc as a
compiler...sorry for my vagueness on the
subject...thats about all i know about it.
Thank you for any help or suggestions you could give me
Nicole
bogeajis@usgs.gov
next reply other threads:[~1999-12-31 22:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-02 5:42 Nicole Bogeajis [this message]
1999-12-02 13:44 ` Arthur Gold
1999-12-31 22:24 ` Arthur Gold
1999-12-31 22:24 ` Nicole Bogeajis
2005-07-24 19:48 Fred J.
2005-07-24 20:50 ` Alex J. Dam
2005-07-25 16:09 ` Travis Spencer
2005-07-25 20:28 ` Fred J.
2005-07-26 6:08 ` Travis Spencer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='825rhv$5vn$1@qvarsx.er.usgs.gov' \
--to=bogeajis@usgs.gov \
--cc=help-gcc@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).