Skip to content

Instantly share code, notes, and snippets.

@luislavena
Created November 29, 2010 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luislavena/719946 to your computer and use it in GitHub Desktop.
Save luislavena/719946 to your computer and use it in GitHub Desktop.
compiling dl
Generating callback.func
Generating cbtable.func
i386-mingw32-gcc -I. -I../.. -I../../../ruby -I../../../ruby/ext/dl -DHAVE_WINDOWS_H -DHAVE_GETLASTERROR -DHAVE_LOADLIBRARY -DHAVE_FREELIBRARY -DHAVE_GETPROCADDRESS -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c ../../../ruby/ext/dl/dl.c
i386-mingw32-gcc -I. -I../.. -I../../../ruby -I../../../ruby/ext/dl -DHAVE_WINDOWS_H -DHAVE_GETLASTERROR -DHAVE_LOADLIBRARY -DHAVE_FREELIBRARY -DHAVE_GETPROCADDRESS -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c ../../../ruby/ext/dl/handle.c
i386-mingw32-gcc -I. -I../.. -I../../../ruby -I../../../ruby/ext/dl -DHAVE_WINDOWS_H -DHAVE_GETLASTERROR -DHAVE_LOADLIBRARY -DHAVE_FREELIBRARY -DHAVE_GETPROCADDRESS -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c ../../../ruby/ext/dl/ptr.c
Generating call.func
void
char
short
long
float
double
i386-mingw32-gcc -I. -I../.. -I../../../ruby -I../../../ruby/ext/dl -DHAVE_WINDOWS_H -DHAVE_GETLASTERROR -DHAVE_LOADLIBRARY -DHAVE_FREELIBRARY -DHAVE_GETPROCADDRESS -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer -c ../../../ruby/ext/dl/sym.c
i386-mingw32-gcc -shared -s -o ../../.ext/i386-mingw32/dl.so dl.o handle.o ptr.o sym.o -L. -L../.. -L. -Wl,--enable-auto-image-base,--enable-auto-import,--export-all -lmsvcrt-ruby18 -lkernel32 -lshell32 -lwsock32
mkdir -p ../../.ext/common/dl
cp ../../../ruby/ext/dl/lib/dl/import.rb ../../.ext/common/dl
cp ../../../ruby/ext/dl/lib/dl/struct.rb ../../.ext/common/dl
cp ../../../ruby/ext/dl/lib/dl/types.rb ../../.ext/common/dl
cp ../../../ruby/ext/dl/lib/dl/win32.rb ../../.ext/common/dl
cp dlconfig.h ../../.ext/i386-mingw32
cp ../../../ruby/ext/dl/dl.h ../../.ext/i386-mingw32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment