Unix Technical Forum

Re: how can I use gcc to compile program first compiled on 3.2v4.2 dev system?

This is a discussion on Re: how can I use gcc to compile program first compiled on 3.2v4.2 dev system? within the Sco Unix forums, part of the Unix Operating Systems category; --> Steve M. Fabac, Jr. a écrit dans le message <3F0DD810.53A211AB@att.net>... >I am investigating moving a client from 3.2v4.2 to ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 10:07 AM
Pascal Huyghe
 
Posts: n/a
Default Re: how can I use gcc to compile program first compiled on 3.2v4.2 dev system?


Steve M. Fabac, Jr. a écrit dans le message <3F0DD810.53A211AB@att.net>...
>I am investigating moving a client from 3.2v4.2 to SCO 5.0.6 but am having
>problems with gcc on 5.0.6 when trying to compile on of the client's

application.
>
>First, I'm no programmer. If I can type "cc program.c" and get an a.out

that will
>run I'm happy. There are no notes or make files on the client's 3.2v4.2

system.
>when I type: gcc -I /usr/informix/incl swlsvr.c
>
>I get:
>
>sqlsvr.ec: In function `main':
>sqlsvr.ec:133: `errno' undeclared (first use in this function)
>sqlsvr.ec:133: (Each undeclared identifier is reported only once
>sqlsvr.ec:133: for each function it appears in.)

[snip]
>I have searched google and groups.google for gcc compiler switches to
>support old style c but have come up empty.
>
>Any suggestions?


Most of the 4.2 statically linked coff binaries run on 5.0.x


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com