Re: a.out won't execute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > On Wed, 2006-06-28 at 15:06 -0700, Todd Simi wrote:
> > > Hi,
> > > 
> > > I asked about the c++ IDE's available a few days ago.  Thanks for all the info.
> > > 
> > > I have a problem now.  I've written a small c++ program for my class.  I can
> > > compile it with g++ on both my FC5 system and one of my Redhat systems (7.2).
> > > 
> > > The problem is, although they both generate an a.out file, I can only execute
> > > it on the Redhat 7.2 system.  On FC5 I get a permission denied message.
> > > 
> > > The file permissions are -rwxr-xr-x on both systems.
> > > 
> > > Any ideas?
> > 
> > Do you get the same result if on FC5 you compile it using the following
> > compiler options:
> > 
> > -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> > -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
> > -mtune=generic -fasynchronous-unwind-tables
> > 
> > These are the options used for building virtually all of the RPM
> > packages in FC5.
> > 
> > Paul.

Yes,
    Although I get a much larger compiled output file, I still get the
permission denied error.

Thanks
Todd




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux