Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XDS linker error/options on Windows?

19 views
Skip to first unread message

Brian Knoblauch

unread,
Dec 8, 2020, 4:54:23 PM12/8/20
to
I've been trying to get the latest XDS binary working. Compiler seems fine as I get my OBJ files, but I'm missing something with the linker as it won't give me an EXE.

I'm getting a "No program entry point" error, which one would think would be an easy fix. However, I'm not sure how to properly set the program entry point. I've played around with the /ENTRY and /SYS options thinking perhaps one of those might get me there, but no luck so far.

Anyone know the secret code to pass to xlink for it to set a legit entrypoint for an EXE?

Thanks,
Brian

Martin Brown

unread,
Dec 9, 2020, 4:24:48 AM12/9/20
to
I don't recall any particular problems like that with XDS.
What version and what platform are you trying to run it on?

My copy identifies itself as Version 2.50
Environment 2.51 build 103
(c) 1999-2003 Excelsior

It is s few years old now. Likely that there is a newer version.

Have you tried compiling the samples included with the compiler?

I was mostly using it to port old Topspeed code onto Win7.

--
Regards,
Martin Brown

Brian Knoblauch

unread,
Dec 9, 2020, 7:44:50 PM12/9/20
to
On Wednesday, December 9, 2020 at 4:24:48 AM UTC-5, Martin Brown wrote:
> I don't recall any particular problems like that with XDS.
> What version and what platform are you trying to run it on?
>
> My copy identifies itself as Version 2.50
> Environment 2.51 build 103
> (c) 1999-2003 Excelsior

Version 2.51 build 09.06.2019

I got an answer to my query on stackexchange that works. Apparently running xlink manually is the wrong way to do it. Instead use the =make =a options of xc and let it handle getting the linker everything it needs. I was trying to dodge building a project file for some real simple things I wanted to try and turned towards my DOS C/Asm experience of separate steps never considering the compiler could just do that for me without a project file.

Thanks for the reply!
0 new messages