Article View: news.software.readers
Article #977Re: trn and SCO?
From: Marc Unangst
Date: Sat, 04 Jan 1992 21:30
Date: Sat, 04 Jan 1992 21:30
26 lines
2005 bytes
2005 bytes
In article <1992Jan02.194218.6638@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes: >perl, I think, was the one that did this). I ran into only one problem: >strftime *is* defined on the system, but, for some reason, it wasn't found >by Configure. This is because strftime is not in libc.a, but in libintl.a. The Microsoft compiler automatically links in libintl.a before libc.a, unless you give it the -nointl flag. So, under normal conditions, strftime will be available to programs, despite not being present in libc.a. A better (albeit slower) strategy for Configure would be the one that the GNU "configure" script uses. Instead of rummaging through libc.a, and assuming that what's there is the only stuff that will be used by the C compiler during the link phase, try linking a program that calls the routine in question. If the link fails, the routine does not exist; if the link succeeds, then the routine is there in some form. Followups to comp.unix.sysv386, since this discussion seems to be diverging from the topic of newsreaders. -- Marc Unangst | "Push to test." mju@mudos.ann-arbor.mi.us | <click> ...!sharkey!mudos!mju | "Release to detonate."
Technical Details
Message-ID:
<1992Jan04.213032.722@mudos.ann-arbor.mi.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.sysv386.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.iastate.edu!sharkey!mudos!mjuReferences:
<1992Jan01.184627.7716@wisdom.bubble.org> <1992Jan02.082022.24708@robobar.co.uk> <1992Jan02.194218.6638@kithrup.COM>Show Full Headers
Complete Article Headers
Message-ID: <1992Jan04.213032.722@mudos.ann-arbor.mi.us> Subject: Re: trn and SCO? Date: Sat, 04 Jan 1992 21:30:32 GMT From: mju@mudos.ann-arbor.mi.us (Marc Unangst) References: <1992Jan01.184627.7716@wisdom.bubble.org> <1992Jan02.082022.24708@robobar.co.uk> <1992Jan02.194218.6638@kithrup.COM> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.sysv386.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!news.iastate.edu!sharkey!mudos!mju Newsgroups: news.software.readers,comp.unix.sysv386 Organization: The Programmer's Pit Stop, Ann Arbor MI Followup-To: comp.unix.sysv386