[EMAIL PROTECTED] wrote:
Makefile overwrites it, and then buildsunos overwrites that, so it doesn't even get the options set in Makefile. But my problem is lower than that. I've tried running the command buildsunos is running to determine if the compiler is 64bit compatible, and it fails because the source file does not exist. Running `find . -name conftest*` in the top of the distribution returns no results. See the transcript below. I added a echo of the compile command about to run. Since the compile command fails (since there's no source code) the script determines my compiler is not 64 bit capable.Original Message <<<<<<<<<<<<<<<<<<
On 1/31/03, 12:56:11 PM, Ian Miller <[EMAIL PROTECTED]> wrote regarding Re: build on solaris:
I don't know but I am in the same boat as you are gcc 3.2.1 gnu ld solaris 8 works fine on a solaris 9 systemQuoting Justin Georgeson <[EMAIL PROTECTED]>:I downloaded the 3.4.31 tarball from the web site, and am trying to
build it on Solaris 8. I have the GCC 3.2.1 package from
sunfreeware.com, which should be able to build 64 bit modules. I put
/usr/ccs/bin at the front of my path so it uses that make instead of GNU
make. When I run 'make solaris' it says it can't find a 64 bit capable
compiler. I have since determined that the test source file
(conftest28268.c) it is trying to compile doesn't exist. What should Ido? Have you tried setting the environment variable "CC" to point to gcc?
[root@foobar: /usr/local/src/ip_fil3.4.31]
$ CC=/usr/local/bin/gcc make solaris
if [ ! -f netinet/done ] ; then \
(cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .; ); \
(cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
touch netinet/done; \
fi
CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
Testing compiler gcc for 64 bit object file generation.
running "gcc -m64 -mcmodel=medlow conftest28719.c -o 64.out"
No 64 bit capable compiler was found
make: *** [solaris] Error 1
[root@foobar: /usr/local/src/ip_fil3.4.31]
$ gcc -m64 -mcmodel=medlow conftest28673.c -o 64.out
gcc: conftest28673.c: No such file or directory
gcc: no input files
[root@foobar: /usr/local/src/ip_fil3.4.31]
$ /usr/local/bin/gcc -Wstrict-prototypes -Wmissing-prototypes -m64 -mcmodel=medlow conftest28673.c -o 64.out
gcc: conftest28673.c: No such file or directory
gcc: no input files
[root@foobar: /usr/local/src/ip_fil3.4.31]
$
--
Justin Georgeson
UnBound Technologies, Inc.
http://www.unboundtech.com
Main 713.329.9330
Fax 713.460.4051
Mobile 512.789.1962
5295 Hollister Road
Houston, TX 77040
Real Applications using Real Wireless Intelligence(tm)
