Path: chuka.playstation.co.uk!news From: "Craig Graham" Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: CW and object-files Date: 22 Feb 1998 23:09:26 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: <01bd3fe7$9e1f7960$6fd449c2@Angela1.intelligent-group.com> References: <01bd3f07$371cd7c0$5571f2c3@leader> NNTP-Posting-Host: l111.mistral.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 Laurent GAY wrote in article <01bd3f07$371cd7c0$5571f2c3@leader>... > Does anybody know how to link a single object-file in a CW project ??? > i explain...i only have the object code of the function ReadCDDA written by > COLIN, > all is correct with GCC...you only have to include the file "cdfeed.o" in > the makefile... > but with CW !!! it's much more difficult ...for me... =o) > i tried much much way to include the file cdfeed.o in my project but > nothing works !!! > i think it's because it was compile with GCC ...am i right ? > or CW doesn't like the ways i used to link the file... > is there anybody in the same case ? Use the GNU "ar" utility (that came on the Yaroze CD) to wrap the object file up as a library (with a ".a" extension), then import the library into Code Warrior as you did in the first place with the libps.a library. You'll end up with cdfeed.a.lib which will link straight into a Code Warrior project. > Laurent Craig.