Have you checked out the Multilink tool created by David Williams at
AvantGo? You can find out more about it at
http://corp.avantgo.com/mal/multilink.html
i have not used it for anything more than compiling the MAL source
(http://corp.avantgo.com/mal/), but it appears to be what you're looking
for.
-peter (=
On Thu, 3 Jun 1999, Alan Kennington wrote:
> Would anyone out there know where I can get comprehensive info
> on how to deal with the 32 or 64 kByte code limit in the
> linux/gcc or linux/g++ cross-compilation environments?
>
> My software is pusing up towards the 32 kByte limit right now.
> I've seen people writing about the "large" memory model etc.,
> which I'm not too sure is mentioned anywhere in my manuals for gcc.
>
> Can I assume that 32-bit addressing is not on for PalmOS?
> I've seen people talking about multiple 64-kByte segements too.
> But I ahve no idea what I have to do in the GCC compiler to
> get to use multiple 64 kByte segments.
>
> have I correctly guessed that only the 16-bit relative
> addressing mode is used in PalmOS because the code resource
> has to be fully relocatable?
> I remember that this sort of addressing mode was incorporated into
> the 68k partly to permit EPROMs to be mapped at unpredetermined
> addresses.
>
> Anyway, what flags do I use for the compiler for escaping the
> single-segment bound?
>
> Cheers, and thanks in advance for any help,
> Alan Kennington.