libtool-patches
[Top][All Lists]
Advanced

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

Re: MinGW issue


From: Albert Chin
Subject: Re: MinGW issue
Date: Sat, 9 Oct 2004 21:07:42 -0500
User-agent: Mutt/1.5.6i

On Sat, Oct 09, 2004 at 09:59:56PM -0400, Charles Wilson wrote:
> Albert Chin wrote:
> 
> >>$run eval "${ECHO} EXPORTS "'> "$output_objdir/$output.def"'
> >>$run eval "${SED} -n -e 'p'"' < "$export_symbols" >> 
> >>"$output_objdir/$output.def"'
> >>
> >>That should work, right, if the -n option to sed is universal?  (there's 
> >>one other place where you have to do the same thing).
> >
> >
> >The original code just inserts "EXPORTS" at the first line. So, why
> >not just:
> >  $run ${ECHO} EXPORTS > "$output_objdir/$output.def"
> >  $run cat "$export_symbols" >> "$output_objdir/$output.def"
> >
> 
> Because I wasn't sure if we were allowed to use cat (just bare 'cat', 
> not even ${CAT}).  I *know* we can use ${ECHO} and ${SED}.

ltmain already uses bare 'cat'.

-- 
albert chin (address@hidden)




reply via email to

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