This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: About PIC on non-library objects


On Thu, 18 Jul 2002, DervishD stated:
>     Moreover, for simplifying the makefiles, it would be great if I
> could compile the 'main*.c' sources (they just contain the 'main()'
> function and calls to the libraries functions) with PIC too. Would it
> cause any harm?.

No, although it can cause a slowdown, especially on register-deprived
targets like IA32 (ix86 and friends).

-- 
`There's something satisfying about killing JWZ over and over again.'
                                        -- 1i, personal communication


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]