Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Problem with linking (Announce)

posted by Japheth Homepage, Germany (South), 28.08.2010, 19:20
(edited by Japheth on 28.08.2010, 20:19)

I played with this stuff, but am unable to link. olink.exe tells "Invalid target name":


        set ORANGEC=d:\orangec
        set PATH=d:\orangec\bin;
        olink.exe /c /T:CON test.o /otest.exe /Ld:\orangec\lib clwin.l climp.l
olink Version 4.1.3 Copyright (C) LADSoft 2006-2010
Error: Invalid target name


When I use ocl.exe instead of occ.exe - that is, the linker is called implicitely by the compiler - it works. But I need a separate link step.

Perhaps one of the smart guys here can help?

EDIT: problem solved, the olink parameter is /T:CON32, not /T:CON. This is an error in the docs.

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 256 users online (0 registered, 256 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum