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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|