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

Building on Mac OS X

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
afb



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Thu Nov 16, 2006 2:22 pm    Post subject: Building on Mac OS X Reply with quote

Here is how far it got on Mac OS X, with GDC unstable (r20)

Code:

# make -f Makefile.gdc.posix
cd dsss_build && \
make -f Makefile.gdc
gdmd -op -release -inline -version=BuildVerbose -ofdsss_build build.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d source.d util/fdt.d util/fileex.d util/linetoken.d util/macro.d util/file2.d
./dsss_build/dsss_build -Idsss_build sss/main.d -Tdsss
gdc: unrecognized option `-rdynamic'
ld: unknown flag: --start-group
make: *** [dsss] Error 1


Seems a few of those "Posix" linker flags to GDC needs porting...
Back to top
View user's profile Send private message
afb



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Thu Nov 16, 2006 2:33 pm    Post subject: Reply with quote

Patching out the above flags, it seems that "Librarian" is missing a friend:

Code:

+ /Users/afb/D/dsss-0.3/dsss_build/dsss_build -I/Users/afb/D/dsss-0.3/inst/include/d -LIBPATH=/Users/afb/D/dsss-0.3/inst/lib -LIBPATH=.  -g -Idsss_build -LIBPATH=dsss_build sss/main.d -Tdsss
ld: warning -L: directory name (/Users/afb/D/dsss-0.3/inst/lib) does not exist
ld: archive: ./libSDG-sss.a has no table of contents, add one with ranlib(1) (can't load from it)
ld: archive: dsss_build/libSbudutil.a has no table of contents, add one with ranlib(1) (can't load from it)


Suggest adding a "PostLibrarian" that would call ranlib on the libfoo.a library ?
Back to top
View user's profile Send private message
Gregor



Joined: 05 May 2006
Posts: 72
Location: Portland, OR

PostPosted: Fri Nov 17, 2006 12:56 pm    Post subject: Reply with quote

ranlib doesn't hurt anywhere (that uses ld), so this is now default in latest SVN.
Back to top
View user's profile Send private message AIM Address
Gregor



Joined: 05 May 2006
Posts: 72
Location: Portland, OR

PostPosted: Fri Nov 17, 2006 12:56 pm    Post subject: Reply with quote

Erm, I should also mention:

I also made the other changes necessary for it to work on OS X Wink
Back to top
View user's profile Send private message AIM Address
afb



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Sun Nov 19, 2006 4:55 am    Post subject: Reply with quote

Testing...
Back to top
View user's profile Send private message
sylverpyro



Joined: 23 May 2006
Posts: 28

PostPosted: Sat Jul 28, 2007 4:53 pm    Post subject: Has anyone built this successfully? Reply with quote

So has anyone gotten DSSS to build on OS X?
Back to top
View user's profile Send private message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Sat Jul 28, 2007 6:29 pm    Post subject: Reply with quote

Just build? As in getting "make -f Makefile.gdc.posix" to work? Yeah, latest gdc svn rev and latest dsss svn rev. As in actually using it, sorry, I haven't tried.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
sylverpyro



Joined: 23 May 2006
Posts: 28

PostPosted: Tue Jul 31, 2007 9:42 am    Post subject: Reply with quote

Confirmed that dsss 0.68 builds on OS X with gdc 0.23
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group