RE: C compiler
C or C++? I believe they munge function names differently. Can you post the error messages and include the link line? If you need a library that is not on the link list and don't know which one to add. Put this in a file (findFunc) in /usr/lib and type: chmod +x findFunc findFunc functionName 1AW51C# cat findFunc #!/bin/sh FUNC_NAME=$1 for lib in \ `ls /usr/lib/lib*.so* | grep -v .Z` \ `ls /usr/lib/lib*.a | grep -v .Z` do nm $lib | grep -v UNDEF | grep $FUNC_NAME /dev/null 21 if [ $? = 0 ] then echo echo $lib nm $lib | grep -v UNDEF | grep $FUNC_NAME fi done Regards, Alex Johnson 10707 Haddington Houston, TX 77043 713.722.2859 (office) 713.722.2700 (switchboard) 713.932.0222 (fax) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Roger Smith [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 4:22 PM To: 'Foxboro DCS Mail List' Subject:C compiler I recently downloaded the gethist utilities from the site, made some modifications to gethist.c and tried to compile. I'm getting errors from the linker for undefined symbols in the Foxboro historian library file. I'm using gcc, the Gnu C compiler, which is new to me. I have previously used Sun's compiler. I even tried to compile some programs that had previously compiled fine under Sun C, but they also now have undefined symbol problems from the linker. Any suggestions. Roger B. Smith Process Control Engineering Div. City of Atlanta --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
RE: C compiler
Re: C or C++? I believe they munge function names differently. I meant to say that I believe the Sun and GNU C++ compliers munge function names differently. (I should get a proof reader.) Regards, Alex Johnson 10707 Haddington Houston, TX 77043 713.722.2859 (office) 713.722.2700 (switchboard) 713.932.0222 (fax) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Johnson, Alex [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 4:50 PM To: Foxboro DCS Mail List Subject:RE: C compiler C or C++? I believe they munge function names differently. Can you post the error messages and include the link line? If you need a library that is not on the link list and don't know which one to add. Put this in a file (findFunc) in /usr/lib and type: chmod +x findFunc findFunc functionName 1AW51C# cat findFunc #!/bin/sh FUNC_NAME=$1 for lib in \ `ls /usr/lib/lib*.so* | grep -v .Z` \ `ls /usr/lib/lib*.a | grep -v .Z` do nm $lib | grep -v UNDEF | grep $FUNC_NAME /dev/null 21 if [ $? = 0 ] then echo echo $lib nm $lib | grep -v UNDEF | grep $FUNC_NAME fi done Regards, Alex Johnson 10707 Haddington Houston, TX 77043 713.722.2859 (office) 713.722.2700 (switchboard) 713.932.0222 (fax) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Roger Smith [SMTP:[EMAIL PROTECTED]] Sent: Friday, March 23, 2001 4:22 PM To: 'Foxboro DCS Mail List' Subject:C compiler I recently downloaded the gethist utilities from the site, made some modifications to gethist.c and tried to compile. I'm getting errors from the linker for undefined symbols in the Foxboro historian library file. I'm using gcc, the Gnu C compiler, which is new to me. I have previously used Sun's compiler. I even tried to compile some programs that had previously compiled fine under Sun C, but they also now have undefined symbol problems from the linker. Any suggestions. Roger B. Smith Process Control Engineering Div. City of Atlanta --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
Re: C Compiler on Sun Box
Freddy, I'd suggest you use GCC, a free C/C++ compiler available from http://www.gnu.org It always worked fine for me. Regards, Sascha - Original Message - From: Freddy Why [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 04, 2000 10:06 AM Subject: C Compiler on Sun Box Hi, Does anybody know of any other C compiler I can use on an AW51B/D besides the Foxboro product, WorkShop Prof C/SPARC 3.0 ? Regards, Freddy Why AFH Devers - Engineering Services South Africa A division of Protea Data Systems Direct Line : +27 11 7195750 Switchboard : +27 11 7195700 Mobile : +27 82 7747845 Fax : +27 11 8878757 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]
RE: C Compiler on Sun Box
You can also find precompiled freeware packages for Solaris 2.5x on Sparc at http://www.sunfreeware.com/ (plus a ton of other utilities). Typically (but not always) they are in Solaris pkgadd format, but at least they are already compiled and built for the target platform. Latest stable version of gcc is 2.95. -Original Message- From: Freddy Why [mailto:[EMAIL PROTECTED]] Sent: Monday, September 04, 2000 04:07 To: [EMAIL PROTECTED] Subject: C Compiler on Sun Box Hi, Does anybody know of any other C compiler I can use on an AW51B/D besides the Foxboro product, WorkShop Prof C/SPARC 3.0 ? Regards, Freddy Why AFH Devers - Engineering Services South Africa A division of Protea Data Systems Direct Line : +27 11 7195750 Switchboard : +27 11 7195700 Mobile : +27 82 7747845 Fax : +27 11 8878757 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED] --- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with unsubscribe foxboro in the Subject. Or, send any mail to [EMAIL PROTECTED]