cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] Re: #1222 Borland Librarian tlib

From: DinoSaurclover <dinosaurclover_at_users.sf.net>
Date: Sat, 11 May 2013 18:58:10 +0000

Dear Daniel,

Super library - by the way. I have some idea of what's involved in coping with the bizarre stuff that can come at you from an HTTP server.

I don't know what those stack overflow guys are talking about? It's nothing to do with absolute or relative paths.

borland tlib uses plus and minus signs to add and remove files from a library.

tlib libcurl.lib +asyn-thread.obj
is seen by tlib as an instruction to add a file called 'asyn' and to remove a file called thread.obj.

tlib libcurl.lib "asyn-thread.obj"
might achieve what you want it to achieve - who knows? The issue concerns the makefile.

I fixed up makefile.b32 by adding the lines

copy BCC_objs\non-ascii.obj BCC_objs\non_ascii.obj
$(LIB) $(LIBFLAGS) $@ +BCC_objs\non_ascii.obj
copy BCC_objs\asyn-ares.obj BCC_objs\asyn_ares.obj
$(LIB) $(LIBFLAGS) $@ +BCC_objs\asyn_ares.obj
copy BCC_objs\asyn-thread.obj BCC_objs\asyn_thread.obj
$(LIB) $(LIBFLAGS) $@ +BCC_objs\asyn_thread.obj

into the tlib bit of the makefile but it's not nice.

Previously I tried renaming the three offending files (hyphens to underscores) and changing all (and I do mean all) references to them in all possible files but, curiously, make was still looking for the hyphenated names. Was this something to do with objnames.inc?

I'm using Borland bcc32 5.5.1 and tlib 4.5. I'm not sure whether there is a later tlib. I downloaded the whole set together from somewhere years ago.

I hope this is helpful.

There were a couple of other small issues which I fixed up. The makefile refused to make the dll but I didn't want it anyway. I ended up with, I believe, a good libcurl.lib. It's certainly doing the job I want. I'll be happy to make it available to other strugglers - just ask.

Regards

Ian

From: Daniel Stenberg
Sent: Saturday, May 11, 2013 6:02 PM
To: [curl:bugs]
Subject: [curl:bugs] #1222 Borland Librarian tlib

This stackoverflow answer says it works with recent tlibs if the path is quoted: http://stackoverflow.com/a/7435362/93747 . Is it true?

--------------------------------------------------------------------------------

[bugs:#1222] Borland Librarian tlib

Status: open
Created: Sat May 11, 2013 07:13 AM UTC by DinoSaurclover
Last Updated: Sat May 11, 2013 09:58 AM UTC
Owner: nobody

tlib does not like hyphens (minus signs) in file names. Standard makefile.b32 fails to add non-ascii.obj asyn-ares.obj and asyn-thread.obj to the library.

--------------------------------------------------------------------------------

Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/curl/bugs/1222/

To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

---
** [bugs:#1222] Borland Librarian tlib**
**Status:** open
**Created:** Sat May 11, 2013 07:13 AM UTC by DinoSaurclover
**Last Updated:** Sat May 11, 2013 05:02 PM UTC
**Owner:** nobody
tlib does not like hyphens (minus signs) in file names. Standard makefile.b32 fails to add non-ascii.obj asyn-ares.obj and asyn-thread.obj to the library.
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1222/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Received on 2013-05-11

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET