libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cmdline_wrap.at


From: Tim Rice
Subject: Re: cmdline_wrap.at
Date: Sat, 28 Feb 2009 10:37:47 -0800 (PST)

Hi Ralf,

On Sat, 28 Feb 2009, Ralf Wildenhues wrote:

[snip]
> Is this an optimization only, or a necessary thing?  IOW, if I omit
> libfoo-1.0 in this "CC -Tprelink_objects" line, would that only
> pessimize link time, or could it affect the link result?

I'll let John answer this

> Anyway, I think the patch below should implement this (and add John to
> THANKS).  Can you try it?  Thanks.

The test still fails although the patch could be correct.
It looks like this never makes it into the generated libtool.

> +         _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~$CC 
> -r -o $output$reload_objs'

.....
address@hidden 132% grep Tprelink libtool
old_archive_cmds="\$CC -Tprelink_objects \$oldobjs~
.....

In fact there is no reload_cmds= in the TAG CONFIG: CXX section

.....
address@hidden 133% grep -n "^reload_cmds=" libtool
123:reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
address@hidden 134% grep -n "CONFIG: CXX" libtool
9097:# ### BEGIN LIBTOOL TAG CONFIG: CXX
9245:# ### END LIBTOOL TAG CONFIG: CXX
.....

-- 
Tim Rice                                Multitalents    (707) 887-1469
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]