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 |
|
||||||
From | To | Subject | Date/Time | |||
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) |
||||||
|
Previous Message | Next Message | Back to General discussion on Husky Soft... <-- <--- | Return to Home Page |
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. |