Re: Help getting linking to work and ...

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
Wink Saville wrote:

> Putting the anoyning message to the log file would be good.
> 
> the $?LIBS worked except the linker doesn't want the "-l", appended to the
> front of the library name. From the docs it implies it should be there, but
> the libraries aren't, in general portable, but it would seem consistency
> would say we should include and then it should be stripped if not needed by
> the tool?

Right, the "-lname" form in $LIBS should be changed to what the linker
understands.  I forgot about this.  If I'm not mistaken then msvc uses
"name.lib"

To do this properly I'll add the sufadd() function.  Aap version 1.045
will include this.

> Of course after that the next problem is the program needs to be
> compiled & linked with the multi-threaded is there a "portable"
> variable like for enabling multi-threading?

No, this is currently not supported.  It would be possible, but since
it is different for every system it would be some work to implement.

-- 
Save the plankton - eat a whale.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.