First, for those who were on the channel, I apologize for having
ranted, but well not fun to waste my time with this and not being
able to come to a solution.
Here's the culprit: cssed in section editors.
A - Current situation
1 - It is written mainly in C, but builds a private C++ library,
which it links against.
2 - It has in the Makefile.am of the library a CC = g++ field
(located in scintilla/gtk)
3 - In the Makefile.am of the main source it links against the C++
library with a cssed_LINKS = g++ -DGTK -o cssed (located in src)
4 - In the info file, there is a GCC: 3.3 field, a SetCC: cc field,
and a SetCXX: c++ field.
B - Building on 10.4-transitional
It compiles on cc for main C code, on c++ for the library, and on g++
for the link to the C++ library.
From my understanding, it is the same as gcc for main code, g++ for
the library, and g++ for the link to the C++ library (at least that's
why I found following the symbolic links).
But I don't see any evidence that it compiles with g++-3.3, which it
should if I understood well.
C - Desperate try to make it compile as it should
1 - If I get rid of the GCC: 3.3 field in the info file, it compiles
with gcc on the main source code, on g++-3.3 for the library, but
links on g++ at final stage.
2 - I've tried various settings in the info file, but no matter what
I've tried, I could not get it to compile with gcc on the main source
code, on g++-3.3 for the library, and on g++-3.3 at final stage.
3 - As said on the channel I should probably patch the Makefile.am,
so that the CC field and the LINKS field could be overwritten
automatically by fink
D - Question
I don't know what I'm supposed to enter in those fields in the
Makefile.am files, so that it works on all trees.
Hopefully, somebody knows the answer to the question.
Cheers,
Michèle
<http://micmacfr.homeunix.org>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel