pid = pexecute (argv[0], (char * const *) argv, prog_name, temp_base,
&errmsg_fmt, &errmsg_arg, PEXECUTE_ONE | PEXECUTE_SEARCH);
pid = pexecute (argv[0], (char * const *) argv, prog_name, temp_base,
&errmsg_fmt, &errmsg_arg, PEXECUTE_ONE | PEXECUTE_SEARCH);
{
fprintf (file, _("Usage %s <option(s)> <object-file(s)>\n"), prog_name);
fprintf (file, _(" Generic options:\n"));
{
fprintf (file, _("Usage %s <option(s)> <object-file(s)>\n"), prog_name);
fprintf (file, _(" Generic options:\n"));
fprintf (file, _(" --quiet, -q Work quietly\n"));
fprintf (file, _(" --verbose, -v Verbose\n"));
fprintf (file, _(" --version Print dllwrap version\n"));
fprintf (file, _(" --quiet, -q Work quietly\n"));
fprintf (file, _(" --verbose, -v Verbose\n"));
fprintf (file, _(" --version Print dllwrap version\n"));
/* Step 1. Call GCC/LD to create base relocation file. If using GCC, the
driver command line will look like the following:
/* Step 1. Call GCC/LD to create base relocation file. If using GCC, the
driver command line will look like the following:
% gcc -Wl,--dll --Wl,--base-file,foo.base [rest of command line]
% gcc -Wl,--dll --Wl,--base-file,foo.base [rest of command line]
/* Step 2. generate the exp file by running dlltool.
dlltool command line will look like the following:
/* Step 2. generate the exp file by running dlltool.
dlltool command line will look like the following:
% dlltool -Wl,--dll --Wl,--base-file,foo.base [rest of command line]
% dlltool -Wl,--dll --Wl,--base-file,foo.base [rest of command line]