Skip to content

Sample of linking on Windows, Mac OS X and OS with GNU ld & ELF (Linux, BSD*, etc)

License

Notifications You must be signed in to change notification settings

gshep/linking-sample

Repository files navigation

Linking sample

This is a sample that demonstrates linking process, dependency hell and symbols shadowing on various platforms.

To build the sample just run:

  • .\windows_make_good.bat - on Windows;
  • ./macosx_make_good.sh - on Mac OS X;
  • ./linux_make_good.sh - etc.

All binaries will be copied into the 'result' directory.

Then run

$ ./result/main.exe

and look at the output.

To clean run .{, /}clean.{bat, sh}.

Note that working directory for build/clean scripts must be the root.

About

Sample of linking on Windows, Mac OS X and OS with GNU ld & ELF (Linux, BSD*, etc)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published