Re: Compile fix for SCO OPenServer
From: Aidan Van Dyk <hidden>
Date: 2016-06-15 22:45:05
* Boyd Lynn Gerber [off-list ref] [080730 19:30]:
I have m4-1.4.3 at ftp://ftp.zenez.com/pub/zenez/prgms/m4-1.4.3-osr6-all.tar.gz I really have to be able to use configure for most of my OpenSource Projects for SCO OS's. I made the changes so that most things work with the auto tools.
I'm not a SCO guru by any means... I'm just a user on someone else's SCO machine, just trying to make sure that the software I write is "fairly portable"... I'm willing to carry a good and useful tool (like git) in my home directory in that endeavour, but I'm not carrying all of the GNU stack in my home directory so I can run configure git is a bit much ;-)
I did a VM install of OpenServer 6 to try things out. I was able to get your -Wall failure, but once I ran the CC=cc CXX=CC ./configure I was able to run gmake without any errors. I did have to install the M4 from above to get configure to work. So, the straight out of the box install has to have gnu m4 to run configure.
So configure.ac must have some magic in it that allows configure to notice -Wall doesn't work. You can see what it choose in config.mak.autogen I think. But I'm pretty glad for the kbuild style Makefile in git not requiring autoconf/automake/etc.
-g and -O2 are mutually exclusive. You can have either one but not both.
Yes, and I think the default to cc matches -g, not -O2, hence my failures unless setting -O2.
I do have tcl and tk
I'm sure... I might even find it burried somewhere on this machine too, but I have no real need for it. a. -- Aidan Van Dyk Create like a god, aidan@highrise.ca command like a king, http://www.highrise.ca/ work like a slave.
Attachments
- signature.asc [application/pgp-signature] 189 bytes