Re: g2c

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

 



Patrick Dupre wrote:
Hello,

With Fedora11 x86_64D
When I link my file with -lg2c I get the following error:
/usr/bin/ld: cannot find -lg2c

I am using:
compat-gcc-34-g77-3.4.6-9.i386
so I need to add:
-L/usr/lib/gcc/x86_64-redhat-linux/3.4.6

something that I did not need to do with fedora10 i386
(/usr/lib/gcc/i386-redhat-linux/3.4.6/)

For compatibilty reasons, I would like to avoid to have to
modify my Makefile.

You're building on a 64-bit system now, so it wants to use the 64-bit
libraries by default.

I'll bet if you install compat-gcc-34-g77-3.4.6-9.x86_64 it'll work.

If you really want to build a 32-bit binary on a 64-bit machine, you
can, but you have to send the compiler and linker some flags.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-      A day for firm decisions!!!   Well, then again, maybe not!    -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux