Linking PB.o to LCC.o

Everything else that doesn't fall into one of the other PB categories.
Seldon
Enthusiast
Enthusiast
Posts: 405
Joined: Fri Aug 22, 2003 7:12 am
Location: Italia

Linking PB.o to LCC.o

Post by Seldon »

Is it possible to link a compiled pureprogram.o (created by PureBasic + Fasm) to a lcc.o (produced by lcc compiler) ? They both use the same linker (lcclnk) and I think the used object format is the standard for Microsoft linker. Are Purebasic libraries (.lib) simply passed to lcclnk for the final building of the EXE file ?
Fred
Administrator
Administrator
Posts: 18349
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Yes, it should be possible without any problem. Just use a little wrapper around lcc, as PB doesn't provide any interface to do it easily.
Post Reply