Re: Compile fix for SCO OPenServer
- From
Aidan Van Dyk <aidan@highrise.ca>
- Date
- Jul 30, 2008, 23:44 UTC
- Message-ID
- <20080730234455.GN10399@yugib.highrise.ca>
- In-Reply-To
- <alpine.LNX.1.10.0807301700500.13032@xenau.zenez.com>
* Boyd Lynn Gerber <gerberb@zenez.com> [080730 19:30]:
Show 8 quoted lines
> 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 ;-)
Show 5 quoted lines
> 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.