Re: static link on Ubuntu

2020-08-26 Thread Daniel Stenberg via curl-library
On Wed, 26 Aug 2020, Mike via curl-library wrote: if I add -lGL -lGLEW -lfreetype -lcurl Eclipse uses the shared libs not the static. What to do? Thanks This is not a how to use the linker list, but I would probably start out by using -static ... Of course, you then probably also need to

Re: static link on Ubuntu

2020-08-26 Thread Mike via curl-library
if I add -lGL -lGLEW -lfreetype -lcurl Eclipse uses the shared libs not the static. What to do? Thanks Am Mi., 26. Aug. 2020 um 08:43 Uhr schrieb Ray Satiro via curl-library < curl-library@cool.haxx.se>: > On 8/25/2020 1:41 PM, Mike via curl-library wrote: > > g++

Re: static link on Ubuntu

2020-08-26 Thread Ray Satiro via curl-library
On 8/25/2020 1:41 PM, Mike via curl-library wrote: g++ -L/usr/lib/x86_64-linux-gnu/libfreetype.a -L/usr/lib/x86_64-linux-gnu/libcurl.a -m64 -static-libgcc -DCURL_STATICLIB -I/usr/lib/x86_64-linux-gnu/libcurl.a -Wl,--version-script=exports.txt -shared -o "lin.xpl" ./BitmapSupport.o

static link on Ubuntu

2020-08-25 Thread Mike via curl-library
Hi I do: g++ -L/usr/lib/x86_64-linux-gnu/libfreetype.a -L/usr/lib/x86_64-linux-gnu/libcurl.a -m64 -static-libgcc -DCURL_STATICLIB -I/usr/lib/x86_64-linux-gnu/libcurl.a -Wl,--version-script=exports.txt -shared -o "lin.xpl" ./BitmapSupport.o ./fontmgr.o ./image.o ./main.o ./myList.o ./rain.o