Re: Glib on Windows.



> The zip files for windows includes .dll.a files only. and there's no .def
> file for gio.

Just an oversight. The next build will include the gio-2.0.def file, too.

> How can i get .lib file from .dll.a and .dll files ? Any Ideas?

It might be possible to just copy the libgio-2.0.dll.a file to
gio-2.0.lib. The format of import libraries used by the GNU toolchain
and the MS toolchain should be compatible as far as I know.

If that doesn't work, run:

link -dump -exports libgio-2.0-0.dll >gio-2.0.def

edit gio-2.0.def into a proper .def .file

lib -def:gio-2.0.def -out:gio-2.0.lib

I have attached for reference the output of pexports (a tool from
mingw that outputs a .def file from a DLL) when run on the
libgio-2.0-0.dll from glib 2.16.1.

--tml
LIBRARY libgio-2.0-0.dll
EXPORTS
g_app_info_add_supports_type
g_app_info_can_remove_supports_type
g_app_info_create_flags_get_type
g_app_info_create_from_commandline
g_app_info_dup
g_app_info_equal
g_app_info_get_all
g_app_info_get_all_for_type
g_app_info_get_default_for_type
g_app_info_get_default_for_uri_scheme
g_app_info_get_description
g_app_info_get_executable
g_app_info_get_icon
g_app_info_get_id
g_app_info_get_name
g_app_info_get_type
g_app_info_launch
g_app_info_launch_default_for_uri
g_app_info_launch_uris
g_app_info_remove_supports_type
g_app_info_set_as_default_for_extension
g_app_info_set_as_default_for_type
g_app_info_should_show
g_app_info_supports_files
g_app_info_supports_uris
g_app_launch_context_get_display
g_app_launch_context_get_startup_notify_id
g_app_launch_context_get_type
g_app_launch_context_launch_failed
g_app_launch_context_new
g_ask_password_flags_get_type
g_async_result_get_source_object
g_async_result_get_type
g_async_result_get_user_data
g_buffered_input_stream_fill
g_buffered_input_stream_fill_async
g_buffered_input_stream_fill_finish
g_buffered_input_stream_get_available
g_buffered_input_stream_get_buffer_size
g_buffered_input_stream_get_type
g_buffered_input_stream_new
g_buffered_input_stream_new_sized
g_buffered_input_stream_peek
g_buffered_input_stream_peek_buffer
g_buffered_input_stream_read_byte
g_buffered_input_stream_set_buffer_size
g_buffered_output_stream_get_auto_grow
g_buffered_output_stream_get_buffer_size
g_buffered_output_stream_get_type
g_buffered_output_stream_new
g_buffered_output_stream_new_sized
g_buffered_output_stream_set_auto_grow
g_buffered_output_stream_set_buffer_size
g_cancellable_cancel
g_cancellable_get_current
g_cancellable_get_fd
g_cancellable_get_type
g_cancellable_is_cancelled
g_cancellable_new
g_cancellable_pop_current
g_cancellable_push_current
g_cancellable_reset
g_cancellable_set_error_if_cancelled
g_content_type_can_be_executable
g_content_type_equals
g_content_type_get_description
g_content_type_get_icon
g_content_type_get_mime_type
g_content_type_guess
g_content_type_is_a
g_content_type_is_unknown
g_content_types_get_registered
g_data_input_stream_get_byte_order
g_data_input_stream_get_newline_type
g_data_input_stream_get_type
g_data_input_stream_new
g_data_input_stream_read_byte
g_data_input_stream_read_int16
g_data_input_stream_read_int32
g_data_input_stream_read_int64
g_data_input_stream_read_line
g_data_input_stream_read_uint16
g_data_input_stream_read_uint32
g_data_input_stream_read_uint64
g_data_input_stream_read_until
g_data_input_stream_set_byte_order
g_data_input_stream_set_newline_type
g_data_output_stream_get_byte_order
g_data_output_stream_get_type
g_data_output_stream_new
g_data_output_stream_put_byte
g_data_output_stream_put_int16
g_data_output_stream_put_int32
g_data_output_stream_put_int64
g_data_output_stream_put_string
g_data_output_stream_put_uint16
g_data_output_stream_put_uint32
g_data_output_stream_put_uint64
g_data_output_stream_set_byte_order
g_data_stream_byte_order_get_type
g_data_stream_newline_type_get_type
g_drive_can_eject
g_drive_can_poll_for_media
g_drive_eject
g_drive_eject_finish
g_drive_enumerate_identifiers
g_drive_get_icon
g_drive_get_identifier
g_drive_get_name
g_drive_get_type
g_drive_get_volumes
g_drive_has_media
g_drive_has_volumes
g_drive_is_media_check_automatic
g_drive_is_media_removable
g_drive_poll_for_media
g_drive_poll_for_media_finish
g_file_append_to
g_file_append_to_async
g_file_append_to_finish
g_file_attribute_info_flags_get_type
g_file_attribute_info_list_add
g_file_attribute_info_list_dup
g_file_attribute_info_list_lookup
g_file_attribute_info_list_new
g_file_attribute_info_list_ref
g_file_attribute_info_list_unref
g_file_attribute_matcher_enumerate_namespace
g_file_attribute_matcher_enumerate_next
g_file_attribute_matcher_matches
g_file_attribute_matcher_matches_only
g_file_attribute_matcher_new
g_file_attribute_matcher_ref
g_file_attribute_matcher_unref
g_file_attribute_status_get_type
g_file_attribute_type_get_type
g_file_copy
g_file_copy_async
g_file_copy_attributes
g_file_copy_finish
g_file_copy_flags_get_type
g_file_create
g_file_create_async
g_file_create_finish
g_file_create_flags_get_type
g_file_delete
g_file_dup
g_file_eject_mountable
g_file_eject_mountable_finish
g_file_enumerate_children
g_file_enumerate_children_async
g_file_enumerate_children_finish
g_file_enumerator_close
g_file_enumerator_close_async
g_file_enumerator_close_finish
g_file_enumerator_get_type
g_file_enumerator_has_pending
g_file_enumerator_is_closed
g_file_enumerator_next_file
g_file_enumerator_next_files_async
g_file_enumerator_next_files_finish
g_file_enumerator_set_pending
g_file_equal
g_file_find_enclosing_mount
g_file_find_enclosing_mount_async
g_file_find_enclosing_mount_finish
g_file_get_basename
g_file_get_child
g_file_get_child_for_display_name
g_file_get_parent
g_file_get_parse_name
g_file_get_path
g_file_get_relative_path
g_file_get_type
g_file_get_uri
g_file_get_uri_scheme
g_file_has_prefix
g_file_has_uri_scheme
g_file_hash
g_file_icon_get_file
g_file_icon_get_type
g_file_icon_new
g_file_info_clear_status
g_file_info_copy_into
g_file_info_dup
g_file_info_get_attribute_as_string
g_file_info_get_attribute_boolean
g_file_info_get_attribute_byte_string
g_file_info_get_attribute_data
g_file_info_get_attribute_int32
g_file_info_get_attribute_int64
g_file_info_get_attribute_object
g_file_info_get_attribute_status
g_file_info_get_attribute_string
g_file_info_get_attribute_type
g_file_info_get_attribute_uint32
g_file_info_get_attribute_uint64
g_file_info_get_content_type
g_file_info_get_display_name
g_file_info_get_edit_name
g_file_info_get_etag
g_file_info_get_file_type
g_file_info_get_icon
g_file_info_get_is_backup
g_file_info_get_is_hidden
g_file_info_get_is_symlink
g_file_info_get_modification_time
g_file_info_get_name
g_file_info_get_size
g_file_info_get_sort_order
g_file_info_get_symlink_target
g_file_info_get_type
g_file_info_has_attribute
g_file_info_list_attributes
g_file_info_new
g_file_info_remove_attribute
g_file_info_set_attribute
g_file_info_set_attribute_boolean
g_file_info_set_attribute_byte_string
g_file_info_set_attribute_int32
g_file_info_set_attribute_int64
g_file_info_set_attribute_mask
g_file_info_set_attribute_object
g_file_info_set_attribute_string
g_file_info_set_attribute_uint32
g_file_info_set_attribute_uint64
g_file_info_set_content_type
g_file_info_set_display_name
g_file_info_set_edit_name
g_file_info_set_file_type
g_file_info_set_icon
g_file_info_set_is_hidden
g_file_info_set_is_symlink
g_file_info_set_modification_time
g_file_info_set_name
g_file_info_set_size
g_file_info_set_sort_order
g_file_info_set_symlink_target
g_file_info_unset_attribute_mask
g_file_input_stream_get_type
g_file_input_stream_query_info
g_file_input_stream_query_info_async
g_file_input_stream_query_info_finish
g_file_is_native
g_file_load_contents
g_file_load_contents_async
g_file_load_contents_finish
g_file_load_partial_contents_async
g_file_load_partial_contents_finish
g_file_make_directory
g_file_make_symbolic_link
g_file_monitor_cancel
g_file_monitor_directory
g_file_monitor_emit_event
g_file_monitor_event_get_type
g_file_monitor_file
g_file_monitor_flags_get_type
g_file_monitor_get_type
g_file_monitor_is_cancelled
g_file_monitor_set_rate_limit
g_file_mount_enclosing_volume
g_file_mount_enclosing_volume_finish
g_file_mount_mountable
g_file_mount_mountable_finish
g_file_move
g_file_new_for_commandline_arg
g_file_new_for_path
g_file_new_for_uri
g_file_output_stream_get_etag
g_file_output_stream_get_type
g_file_output_stream_query_info
g_file_output_stream_query_info_async
g_file_output_stream_query_info_finish
g_file_parse_name
g_file_query_default_handler
g_file_query_exists
g_file_query_filesystem_info
g_file_query_filesystem_info_async
g_file_query_filesystem_info_finish
g_file_query_info
g_file_query_info_async
g_file_query_info_finish
g_file_query_info_flags_get_type
g_file_query_settable_attributes
g_file_query_writable_namespaces
g_file_read
g_file_read_async
g_file_read_finish
g_file_replace
g_file_replace_async
g_file_replace_contents
g_file_replace_contents_async
g_file_replace_contents_finish
g_file_replace_finish
g_file_resolve_relative_path
g_file_set_attribute
g_file_set_attribute_byte_string
g_file_set_attribute_int32
g_file_set_attribute_int64
g_file_set_attribute_string
g_file_set_attribute_uint32
g_file_set_attribute_uint64
g_file_set_attributes_async
g_file_set_attributes_finish
g_file_set_attributes_from_info
g_file_set_display_name
g_file_set_display_name_async
g_file_set_display_name_finish
g_file_trash
g_file_type_get_type
g_file_unmount_mountable
g_file_unmount_mountable_finish
g_filename_completer_get_completion_suffix
g_filename_completer_get_completions
g_filename_completer_get_type
g_filename_completer_new
g_filename_completer_set_dirs_only
g_filesystem_preview_type_get_type
g_filter_input_stream_get_base_stream
g_filter_input_stream_get_type
g_filter_output_stream_get_base_stream
g_filter_output_stream_get_type
g_icon_equal
g_icon_get_type
g_icon_hash
g_input_stream_clear_pending
g_input_stream_close
g_input_stream_close_async
g_input_stream_close_finish
g_input_stream_get_type
g_input_stream_has_pending
g_input_stream_is_closed
g_input_stream_read
g_input_stream_read_all
g_input_stream_read_async
g_input_stream_read_finish
g_input_stream_set_pending
g_input_stream_skip
g_input_stream_skip_async
g_input_stream_skip_finish
g_io_error_enum_get_type
g_io_error_from_errno
g_io_error_quark
g_io_extension_get_name
g_io_extension_get_priority
g_io_extension_get_type
g_io_extension_point_get_extension_by_name
g_io_extension_point_get_extensions
g_io_extension_point_get_required_type
g_io_extension_point_implement
g_io_extension_point_lookup
g_io_extension_point_register
g_io_extension_point_set_required_type
g_io_extension_ref_class
g_io_module_get_type
g_io_module_new
g_io_modules_load_all_in_directory
g_io_scheduler_cancel_all_jobs
g_io_scheduler_job_send_to_mainloop
g_io_scheduler_job_send_to_mainloop_async
g_io_scheduler_push_job
g_loadable_icon_get_type
g_loadable_icon_load
g_loadable_icon_load_async
g_loadable_icon_load_finish
g_local_directory_monitor_get_type
g_local_file_monitor_get_type
g_memory_input_stream_add_data
g_memory_input_stream_get_type
g_memory_input_stream_new
g_memory_input_stream_new_from_data
g_memory_output_stream_get_data
g_memory_output_stream_get_size
g_memory_output_stream_get_type
g_memory_output_stream_new
g_mount_can_eject
g_mount_can_unmount
g_mount_eject
g_mount_eject_finish
g_mount_get_drive
g_mount_get_icon
g_mount_get_name
g_mount_get_root
g_mount_get_type
g_mount_get_uuid
g_mount_get_volume
g_mount_mount_flags_get_type
g_mount_operation_get_anonymous
g_mount_operation_get_choice
g_mount_operation_get_domain
g_mount_operation_get_password
g_mount_operation_get_password_save
g_mount_operation_get_type
g_mount_operation_get_username
g_mount_operation_new
g_mount_operation_reply
g_mount_operation_result_get_type
g_mount_operation_set_anonymous
g_mount_operation_set_choice
g_mount_operation_set_domain
g_mount_operation_set_password
g_mount_operation_set_password_save
g_mount_operation_set_username
g_mount_remount
g_mount_remount_finish
g_mount_unmount
g_mount_unmount_finish
g_mount_unmount_flags_get_type
g_native_volume_monitor_get_type
g_output_stream_clear_pending
g_output_stream_close
g_output_stream_close_async
g_output_stream_close_finish
g_output_stream_flush
g_output_stream_flush_async
g_output_stream_flush_finish
g_output_stream_get_type
g_output_stream_has_pending
g_output_stream_is_closed
g_output_stream_set_pending
g_output_stream_splice
g_output_stream_splice_async
g_output_stream_splice_finish
g_output_stream_splice_flags_get_type
g_output_stream_write
g_output_stream_write_all
g_output_stream_write_async
g_output_stream_write_finish
g_password_save_get_type
g_seekable_can_seek
g_seekable_can_truncate
g_seekable_get_type
g_seekable_seek
g_seekable_tell
g_seekable_truncate
g_simple_async_report_error_in_idle
g_simple_async_report_gerror_in_idle
g_simple_async_result_complete
g_simple_async_result_complete_in_idle
g_simple_async_result_get_op_res_gboolean
g_simple_async_result_get_op_res_gpointer
g_simple_async_result_get_op_res_gssize
g_simple_async_result_get_source_tag
g_simple_async_result_get_type
g_simple_async_result_new
g_simple_async_result_new_error
g_simple_async_result_new_from_error
g_simple_async_result_propagate_error
g_simple_async_result_run_in_thread
g_simple_async_result_set_error
g_simple_async_result_set_error_va
g_simple_async_result_set_from_error
g_simple_async_result_set_handle_cancellation
g_simple_async_result_set_op_res_gboolean
g_simple_async_result_set_op_res_gpointer
g_simple_async_result_set_op_res_gssize
g_themed_icon_append_name
g_themed_icon_get_names
g_themed_icon_get_type
g_themed_icon_new
g_themed_icon_new_from_names
g_themed_icon_new_with_default_fallbacks
g_vfs_get_default
g_vfs_get_file_for_path
g_vfs_get_file_for_uri
g_vfs_get_local
g_vfs_get_supported_uri_schemes
g_vfs_get_type
g_vfs_is_active
g_vfs_parse_name
g_volume_can_eject
g_volume_can_mount
g_volume_eject
g_volume_eject_finish
g_volume_enumerate_identifiers
g_volume_get_drive
g_volume_get_icon
g_volume_get_identifier
g_volume_get_mount
g_volume_get_name
g_volume_get_type
g_volume_get_uuid
g_volume_monitor_adopt_orphan_mount
g_volume_monitor_get
g_volume_monitor_get_connected_drives
g_volume_monitor_get_mount_for_uuid
g_volume_monitor_get_mounts
g_volume_monitor_get_type
g_volume_monitor_get_volume_for_uuid
g_volume_monitor_get_volumes
g_volume_mount
g_volume_mount_finish
g_volume_should_automount
g_win32_app_info_get_type


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]