The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => Miscellaneous Projects => Topic started by: triStoneL on January 01, 2011, 03:58:10 PM

Title: What dose this linker option mean? -aligncomm
Post by: triStoneL on January 01, 2011, 03:58:10 PM
Ignore this.
Title: Re: What dose this linker option mean? -aligncomm
Post by: dedndave on January 01, 2011, 04:55:27 PM
yah, boggie - this is definately a "misc project" - not a campus subject

for all the linker options, use

link /help

that gives you a list of switches to get help on various parts of the linker

for the link function, use

link /link

or

link /?
Title: Re: What dose this linker option mean? -aligncomm
Post by: jj2007 on January 01, 2011, 05:40:50 PM
Dave, ever noticed that this doesn't work with later versions of link.exe?
Title: Re: What dose this linker option mean? -aligncomm
Post by: BogdanOntanu on January 01, 2011, 06:18:51 PM
Quote from: dedndave on January 01, 2011, 04:55:27 PM
yah, boggie - this is definately a "misc project" - not a campus subject


Well, his original message (the one that I saw when I decided to move the thread was about an C++ project/program with no ASM code or relation whatsoever (oh well it looked like plain C not C++ to me).

Then his question was IF we know why the GNU GCC compiler inserts a certain "aligncomm" directive or something like that  inside a special section the OBJ created (I assume it was about ELF obj format on Linux/Unix).

Now please tell me what was the better location for an C++ project with no ASM connections, asking about why the GCC compiler does something to the generated OBJ file :D ?

Initially (by mistake) I have moved the topic to the Soap Box.

Then I have reconsidered because this was still related to programming and The Soap Box mentioned "non programming" topics as it's target.

As much as we would like to ... this board's Campus sub forum does not intend to teach C++ arcane issues with GCC on Unix / Linux ...

I think it intends to teach / help ASM issues with MASM, JWASM, Goasm and other compatible x86 assemblers on Win32 and Win64 platforms mainly (i guess Unix /Linux and other OSes are acceptable also as long as it is ASM related).

Title: Re: What dose this linker option mean? -aligncomm
Post by: clive on January 02, 2011, 12:12:07 AM
Quote from: triStoneL
Ignore this.

Please don't edit posts in this manner.