Message: previous - next
Month: February 2011

Re: [trinity-devel] Trinity on Arch - Intel Atom (new thread)

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 22 Feb 2011 21:51:53 -0600
On 02/22/2011 07:46 PM, calvin morrison wrote:
> So I've worked out (sorry for triple posting) what the tentative solution is,
> cmake documentation says:
> CMAKE_EXE_LINKER_FLAGS: Linker flags used to create executables.
> Flags used by the linker when creating an executable.
> So all we have to do is set the flags right for ld to ignore the Qt4 libs.
> ld has a option " -z nodefaultlib " once i figure out how this works,
> all we have to do is add another export line for the
> CMAKE_EXE_LINKER_FLAGS and that should fix the problem AFAIK.
> Calvin

YES - Amen. This is how it needs to be done.

  I have no doubt that the Trinity cmake files will ultimately get tailored to
do this correctly. But I understand the priorities. These tweaks lie somewhere
on the time-line between:

Port all Modules           Tweak CMake files                  Finished Trinity
to CMake and               to ignore other                    3.5.13 Super
get building in            existing packages                  Desktop
clean environ              possibly present

(** Not to scale :-)

David C. Rankin, J.D.,P.E.