Hello,
i got
[Linker Warning] Public symbol '_printf' defined in both module C:\PROGRAMME\BORLAND\CBUILDER6\LIB\CP32MT.LIB|printf and K:\WINVIEW\OBJ\PRINTF.OBJ
thats clear, because i use my own printf.
With Project->Options->Packages->"Build with runtime Packages" i got no problem,
the linker use my version of printf.
With disabling "Build with runtime Packages",
the linker use printf from CP32MT.LIB.
That is a problem, because nothing work anymore.
I know, i could change the name of printf to myprintf,
but i don't want to do this, because this is an simulation-project for software on a microchip.
The microchip-compiler (Keil) dont have any problem with my printf.
I could use "Build with runtime Packages",
but i don't want to do this, because some customers are to
stupid to copy rtl60.bpl in to the right directory.
But how i can change the link order for .obj/.lib files?
I appriciate all help.
Jan Erik
i got
[Linker Warning] Public symbol '_printf' defined in both module C:\PROGRAMME\BORLAND\CBUILDER6\LIB\CP32MT.LIB|printf and K:\WINVIEW\OBJ\PRINTF.OBJ
thats clear, because i use my own printf.
With Project->Options->Packages->"Build with runtime Packages" i got no problem,
the linker use my version of printf.
With disabling "Build with runtime Packages",
the linker use printf from CP32MT.LIB.
That is a problem, because nothing work anymore.
I know, i could change the name of printf to myprintf,
but i don't want to do this, because this is an simulation-project for software on a microchip.
The microchip-compiler (Keil) dont have any problem with my printf.
I could use "Build with runtime Packages",
but i don't want to do this, because some customers are to
stupid to copy rtl60.bpl in to the right directory.
But how i can change the link order for .obj/.lib files?
I appriciate all help.
Jan Erik