FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 18 matches
Forum Index
Author Message
  Topic: Possible bug (or application flaw): linking in std.c.....
mmcdermo

Replies: 3
Views: 9397

PostForum: Build   Posted: Thu Dec 21, 2006 11:25 am   Subject: Possible bug (or application flaw): linking in std.c.....
Hah! Thanks for the explanation Derek... I didn't make the connection Shocked
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Mon Dec 18, 2006 7:23 pm   Subject: pragma(link) on Linux
It appears as if this bug has been debunked. I downloaded a fresh copy of 3.04 to do a vanilla verbose output on btest.d and it worked. I'm a bit confused. In any case, thank you for your help, Derek.
  Topic: Possible bug (or application flaw): linking in std.c.....
mmcdermo

Replies: 3
Views: 9397

PostForum: Build   Posted: Mon Dec 18, 2006 7:17 pm   Subject: Possible bug (or application flaw): linking in std.c.....
In std.c.linuxextern.d, it is written:


/* These are all the globals defined by the linux C runtime library.

* Put them separate so they'll be externed - do not link in linuxextern.o

*/
...
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Mon Dec 18, 2006 7:15 pm   Subject: pragma(link) on Linux
This is the output from my hacked version of bud. If you'd like the vanilla output, I can post that too. [/i]
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Mon Dec 18, 2006 10:24 am   Subject: pragma(link) on Linux
Thanks for the explanation Smile. Here's my output when I perform

build -test -full -op -V

with

import std.stdio;

version(build) {
pragma(link, pq);
}

void ...
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Sun Dec 17, 2006 11:15 am   Subject: pragma(link) on Linux
Calling build with the -V switch doesn't seem to do anything for me.. I get no additional output. I've also made sure that this wasn't the product of a modification to build - the vanilla source does ...
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Fri Dec 15, 2006 10:07 pm   Subject: pragma(link) on Linux
Quick-hack-solution found::

In source.d:


On line 1234:
Replace: if (lCurrentToken == "link")
With: if (lCurrentToken == "link" || pFileText[p ...
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Fri Dec 15, 2006 8:32 pm   Subject: pragma(link) on Linux
I've been playing around with Bud's source, but I'm having a hard time finding the code that processes pragma(links) [or just pragmas], and I have only a faint idea of how this is aggregated into the ...
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Thu Dec 14, 2006 3:07 pm   Subject: pragma(link) on Linux
Bud simply isn't passing libpq.a to the linker (observable with -test output). Changing libpq to pq doesn't do anything, unfortunately.

For more clarification, here's a sample of the -test output: ...
  Topic: pragma(link) on Linux
mmcdermo

Replies: 11
Views: 19915

PostForum: Build   Posted: Thu Dec 14, 2006 1:27 pm   Subject: pragma(link) on Linux
Hi there!
I'm using bud to compile a project that needs to import a library ( libpq.a ). In the module that needs this library, I have the following code:

version(build) {
pragma ...
  Topic: libmemcache bindings
mmcdermo

Replies: 0
Views: 8891

PostForum: Bindings   Posted: Sun Dec 03, 2006 10:19 pm   Subject: libmemcache bindings
I'm working on porting the libmemcache header file from C to D, and everything went rather smoothly... except for one part.

The header file includes many other header files not included in the std ...
  Topic: D Learning Resources
mmcdermo

Replies: 5
Views: 26041

PostForum: Tutorials   Posted: Thu Nov 30, 2006 9:44 pm   Subject: D Learning Resources
Thanks for the endorsement, JCC! It's great that you're still interested in contributing to the D community's tutorials; we need people who are excited about posting their favorite type of tutorial, a ...
  Topic: D Learning Resources
mmcdermo

Replies: 5
Views: 26041

PostForum: Tutorials   Posted: Thu Nov 30, 2006 11:24 am   Subject: D Learning Resources
Thanks for the link, Joe.

As far as using using the existing Tutorial project, I'm completely for it. It has an already setup environment in addition to a good bit of material to start with that w ...
  Topic: D Learning Resources
mmcdermo

Replies: 5
Views: 26041

PostForum: Tutorials   Posted: Wed Nov 29, 2006 3:09 pm   Subject: D Learning Resources
As a newbie to this great language, one of my biggest challenges in learning D is finding learning resources. I've gotten to the point now where I generally use digitalmars.com/d/ as a starting point ...
  Topic: Cashew CGI
mmcdermo

Replies: 2
Views: 15611

PostForum: Cashew   Posted: Wed Nov 29, 2006 1:48 am   Subject: Cashew CGI
Always happy to help out Smile.. Just let me know if I can assist you further in any way.
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group