> bcc32 -c -q -WR -DGERORGERINGO_DLL -o georgeringo.obj georgeringo.cpp However, and expects it to be implemented for some Unix platforms - including Linux - byįor example, to compile the source files from Example 1-2 into object files with the Borland compiler, assuming that theĭirectory containing the Borland tools is in your PATH,Ĭhange to the directory georgeringo and enter theįollowing commands: > bcc32 -c -q -WR -o george.obj george.cpp Comeau Computing is currently working on dynamic library support, Libgeorgeringo.dll george.obj ringo.obj georgeringo.obj user32.libĪs of September 2005, the Comeau toolset does not support building dynamic libraries Ringo.obj georgeringo.objimplib -c libgeorgeringo.lib Mwld -shared -export pragma -o libgeorgeringo.dylib george.o ringo.oīcc32 -q -WD -WR -elibgeorgeringo.dll george.obj Libgeorgeringo.dll -implib libgeorgeringo.lib george.obj ringo.obj Mwld -shared -export dllexport -runtime dm -o George.o ringo.o georgeringo.o georgeringo.obj G++ -shared -fPIC -lrt -o libgeorgeringo.so Xilink -nologo -dll -out:libgeorgeringo.dll
implib:libgeorgeringo.lib george.obj ringo.obj georgeringo.obj Link -nologo -dll -out:libgeorgeringo.dll W1,-export-all-symbols-Wl,-enable-auto-image-base george.o ringo.o georgeringo.o Wl,-enable-auto-image-base george.o ringo.o georgeringo.o G++ -dynamiclib -fPIC -o libgeorgeringo.dylib george.o