Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to General discussion on Husky Soft...  <--  <--- Return to Home Page
   Networked Database  General discussion on Husky Soft...   [39 / 150] RSS
 From   To   Subject   Date/Time 
Message   Wilfred van Velzen    Richard Menedetter   Re: HPTZIP compile issue   November 8, 2016
 4:41 PM *  

Hi Richard,

On 2016-11-08 08:58:22, Nicholas Boel wrote to you:

 RM>> I tried to compile HPTZIP today.
 RM>> Got this error:
 RM>> gcc -shared -Wl -s hptzip.o ioapi.o unzip.o zip.o -L/usr/local/lib -o
 RM>> libhptzip.so
 RM>> gcc: error: unrecognized command line option -Wl

 RM>> When I delete the -Wl it links.

 NB> While it links, does the program still do what it is intended to do?

 NB> I wonder if changing -Wl to -Wall would do anything productive either? I
 NB> only reply because I ran into the exact same error yesterday, but did not
 NB> test further as I had to put my efforts elsewhere that that time.

In my gcc man page:

       -Wl,option
           Pass option as an option to the linker.  If option contains commas,
it is split into multiple options at the commas.  You
           can use this syntax to pass an argument to the option.  For example,
 -Wl,-Map,output.map passes -Map output.map to the
           linker.  When using the GNU linker, you can also get the same effect
 with -Wl,-Map=output.map.

And as -s is a linker option, it should probably we written as: -Wl,-s

But -s is basically what the 'strip' program does. So it doesn't hurt to to
leave them both out, and do a manual strip on the generated executable file
afterwards...

Bye, Wilfred.

--- FMail-W32 1.73.2.29-B20161107
 * Origin: FMail development HQ (2:280/464)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to General discussion on Husky Soft...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.097 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_i5n2j3dcjpn1rd7ffjb9d8v814, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_i5n2j3dcjpn1rd7ffjb9d8v814, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_i5n2j3dcjpn1rd7ffjb9d8v814, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0