Path: chuka.playstation.co.uk!news From: martin@fsnsys.com (Martin Day) Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: Gnu Make Vs Psymake Date: Fri, 3 Jul 1998 14:42:13 +0100 Organization: SN Systems Ltd Lines: 18 Message-ID: References: <6ngp2o$60l7@chuka.playstation.co.uk> NNTP-Posting-Host: martin.snsys.com X-Newsreader: MicroPlanet Gravity v2.10.940 In article , thutton@cybec.com.au says... > "Jon Watson" writes: > ... > I don't think there's any directive for the GNU tools to automatically > link binaries with your executable, but it'd take 10 mins to write a > little program to convert a binary to C source (with a native compiler). > > Man, there's probably tonnes of bin2src progs on Simtel or somewhere > if you don't want to do your own... If the data files are going to be changed often then I'd recommend converting them to assembler rather than C to cut down on the build time. If you're not sure what declarations you need in the assembler source just build a C program with a data table with the -S option and look at what that's producing. An even better way is to convert to an object file if you have the spec for this. -- Martin E:martin@snsys.com T:+44 117 929 9733 F:+44 117 929 9251