Help:
I am trying to build Avarice on OS X (10.5.8) (i386-apple-darwin9.8.0).
First I had the notorius can't find libbfd problem, solved it after a
lot of research with:
export LDFLAGS="-static -L${DESTDIR}/i386-apple-darwin9.8.0/avr/lib "
and
export CPPFLAGS=-I${DESTDIR}/i386-apple-darwin9.8.0/avr/include
these are the locations of the libbfd and bfd.h files.
Now I have this new problem that I have not been able to solve as
there is not much chatter on Avarice on the net.
This is a snip from the config log:
configure:2457: $? = 0
configure:2464: g++ -v >&5
Using built-in specs.
Target: i686-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5493~1/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/
lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --
host=i686-apple-darwin9 --target=i686-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
configure:2468: $? = 0
configure:2475: g++ -V >&5
g++-4.0: argument to `-V' is missing
configure:2479: $? = 1
configure:2502: checking for C++ compiler default output file name
configure:2524: g++ -I/Users/freddie/avrtools/i386-apple-darwin9.8.0/
avr/include -static -L/Users/freddie/avrtools/i386-apple-darwin9.8.0/
avr/lib conftest.cpp >&5
ld_classic: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
configure:2528: $? = 1
configure:2566: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "avarice"
| #define PACKAGE_TARNAME "avarice"
| #define PACKAGE_VERSION "2.10"
| #define PACKAGE_STRING "avarice 2.10"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "avarice"
| #define VERSION "2.10"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2573: error: C++ compiler cannot create executables
See `config.log' for more details.
I cannot locate the file libcrt0.o
Anyone have a clue what to do next?
TIA,
Ed
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
avarice-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avarice-user