Ok I finally could test this thing. Actually it's a toolkit for coordinates conversions which I use in Flight Simulation development.
According to the doc after compiling I should have one folder containing an executable capable of testing the toolkit installation (something like bin/linux32.Opt/..).
Actually I have 2 of them : bin/darwin-i386 and bin/darwin-gnu
The first of which contains nothing, and the second containing the executable. However when I launch the exec I simply have a "bus error".
Assuming I had no error message during the compilation, could this come from the fact that I am trying to run this on a Intel Mac...? I mean, is that possible that the makefile is being confused by the fact that it finds Darwin as an OSARCH and x86 as CPUARCH ?
libtool: can't locate file for: -lgcc libtool: file: -lgcc is not an object file (not allowed in a library)
libtool: can't locate file for: -lstdc++ libtool: file: -lstdc++ is not an object file (not allowed in a library) make: [lib/darwin-8.6.1-i386/OPT-shared/libsrm.dylib] Error 1 (ignored)
So I switched to g++ and now with your very last advice it seems to
compile and link well. I will test the program tomorrow, but I am not sure everything has been all right because I obtain 2 folders (1 for GNU and 1 for i386) instead of one... bet that i'll get back to you soon..
thanks again,
david
Le 28 mai 06 à 16:22, Peter O'Gorman a écrit :
> On Sat, 2006-05-27 at 20:39 +0200, David Lscbe wrote: >> Great! It's been a while since I try to compile this stuff and I have
>> been a little further thanks to you. I replaced with g++ and >> dynamiclib.. however now I have this : > >> ##################################################################### >> #########
>> AR = ar >> RL = ranlib >> ARFLAGS = -static -o >> RLFLAGS = >> > > When you replaced libtool with ar, you also needed to change the > ARFLAGS, I suggest:
> > ARFLAGS = cru > > By the way, why did you feel the need to change libtool to g++ and ar > for dynamic and static library building? We should use the compiler > driver to link libraries, but using libtool directly does usually
> work. > > Peter >
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden