this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move wrapgen to another directory

To support cross-compiled Darling, mldr and darling should be compiled
for target system wrapgen not. Split them for simpler build systems.

+9 -4
+1 -1
cmake/wrap_elf.cmake
··· 6 6 OUTPUT 7 7 ${CMAKE_CURRENT_BINARY_DIR}/${name}.c 8 8 COMMAND 9 - ${CMAKE_BINARY_DIR}/src/startup/wrapgen 9 + ${CMAKE_BINARY_DIR}/src/wrapgen/wrapgen 10 10 ${elfname} 11 11 ${CMAKE_CURRENT_BINARY_DIR}/${name}.c 12 12 DEPENDS
+1
src/CMakeLists.txt
··· 42 42 #add_subdirectory(libmach-o) 43 43 #add_subdirectory(libdyld) 44 44 add_subdirectory(startup) 45 + add_subdirectory(wrapgen) 45 46 46 47 set(CMAKE_AR "${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/ar/x86_64-apple-darwin11-ar") 47 48 set(CMAKE_RANLIB "${CMAKE_BINARY_DIR}/src/external/cctools-port/cctools/misc/ranlib")
-3
src/startup/CMakeLists.txt
··· 36 36 LINK_FLAGS "-m32" 37 37 ) 38 38 39 - add_executable(wrapgen wrapgen/wrapgen.cpp) 40 - target_link_libraries(wrapgen dl) 41 - 42 39 install(TARGETS mldr mldr32 DESTINATION libexec/darling/bin) 43 40 install(TARGETS darling DESTINATION bin 44 41 PERMISSIONS
src/startup/wrapgen/produce_stubs_example.h src/wrapgen/produce_stubs_example.h
src/startup/wrapgen/stubgen32.cpp src/wrapgen/stubgen32.cpp
src/startup/wrapgen/wrapgen.cpp src/wrapgen/wrapgen.cpp
+7
src/wrapgen/CMakeLists.txt
··· 1 + project(wrapgen) 2 + 3 + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11") 4 + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 5 + 6 + add_executable(wrapgen wrapgen.cpp) 7 + target_link_libraries(wrapgen dl)