[Plib-users] No errors in SGI C++ compiling, many thanks. But...
Brought to you by:
sjbaker
From: Wein G. <cr...@us...> - 2000-05-07 07:38:58
|
>> When using SGI c/c++ compiler 7.3 to compile plib and FlightGear`s >> code, I met many errors, and couldn`t continue compiling it. > > I have compiled PLIB under SGI`s C++ compiler (dunno if it was v7.3 or > not though). Could you tell me what the errors were - I`d like for it > to compile under SGI`s compiler. After I modified some codes according to you last answer, plib can be compiled without errors in my SGI Irix 6.5.7 with SGI C++ compiler. Thank you so much. Because of some errors in compiling FlightGear in SGI C++, I need to re-compile both plib and FlightGear in GNU gcc/g++. >> Therefore, I must change to GNU platform. But, I don`t know how to >> change autoconf(configure.in, etc.) to my case, i.e. to use gcc/g++ >> instead of former cc/CC of original SGI compiler. By the way, >> I already installed a gcc-2.95.2 Compiler Suite. > > For GNU, you could do: > > export CC=gcc > export CXX=g++ > export CFLAGS=-Wall > export CXXFLAGS=-Wall > ./configure Some errors appears after I followed this way: 1% sh $ export CC=gcc $ export CXX=g++ $ export CFLAGS=-Wall $ export CXXFLAGS=-Wall $ ./configure loading cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing includedir changed to ${prefix}/include/plib libdir is ${exec_prefix}/lib checking for gcc... (cached) cc checking whether the C compiler (cc -Wall ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. $ Any further suggestion? Thanks again. -Wein ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1 |