If anyone knows what can I do to use it with FPC, I'd be grateful for some hints :]. I tried valgrind with simple program in C and it seems to work. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in _start from /usr/lib/crt1.o. Ld: warning: -macosx_version_min not specificed, assuming 10.7 Hint: End of reading config file /etc/fpc.cfgįree Pascal Compiler version 2.7.1 for i386Ĭopyright (c) 1993-2011 by Florian Klaempfl and othersĪssembling (pipe) lib/i386-darwin/project1.sĬompiling resource lib/i386-darwin/project1.or Hint: Start of reading config file /etc/fpc.cfg FUlib/i386-darwin/ -dLCL -dLCLcarbon project1.lpr More than four years ago, on December 16, 2004, an Apple employee named Greg Parker wrote to the Valgrind developers mailing list to tell us that he was working on a port of Valgrind for Mac OS X. As you will see later, these C standard library calls are used by C++s new. (Well, it also runs on AIX, but not many people care about that.) Valgrind on Mac OS X.
Code: $ fpc -MObjFPC -Scghi -g -gl -gv -k-framework -kCarbon -k-framework -kOpenGL -k-dylib_file -k/System/Library/Frameworks/amework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/amework/Versions/A/Libraries/libGL.dylib -vewnhi -l -Filib/i386-darwin -Fu/Developer/lazarus/lcl/units/i386-darwin/carbon -Fu/Developer/lazarus/lcl/units/i386-darwin -Fu/Developer/lazarus/packager/units/i386-darwin -Fu. problems are some of the most difficult issues to debug in a C++ program.