Joost van der Sluis wrote:
Hi all,

I'm trying to set-up a VM with Solaris (x86_64).

Problem is that fpc refuses to link applications. It complains that
there is a syntax error in the build-in linker scripts. How that's
possible, I don't know.

When I use -T, so that the default linker scripts are not used, linking
goes well, but the application terminates immediately: 'Bad entry
point'. That's probably because the link.res link-script is missing too
much info to be used without the default linker-scripts.

Does this ring a bell to anyone? And maybe someone know where I can find
the default-linker scripts?

Which version of the compiler? I didn't see this on SPARC but I think the first thing I'd check would be which linker (ld) was actually being used- I had to do a lot of tweaking to get paths right.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to