Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] AMD64 biarch and smgl

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Robin Cook <rcook AT wyrms.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] AMD64 biarch and smgl
  • Date: Mon, 03 May 2004 17:47:21 -0500

Did you want my opteron file? I have it
in /var/lib/sorcery/archspecs/ia32/amd and based it on the athlon-mp
changing the -march= to opteron and adding -msse2 and -m64 to the
CFLAGS. Haven't been able to find if the HOST variable needs to be
changed or not.

Has anyone else made any progress on the lib and lib64 directory stuff?

CuZnDragon
Robin Cook

On Tue, 2004-04-27 at 10:38 -0400, Sergey A. Lipnevich wrote:
> What if I simply copy "athlon-xp" into "athlon64" and add "-m64" to the
> list of options? Am I going to break anything?
>
> Eric Sandall wrote:
>
> >Quoting Jose Bernardo Silva <jbs AT bandos.homelinux.com>:
> >
> >
> >>Hi!
> >>
> >>I am still fighting with getting gcc native on my athlon64 (segfaults
> >>doing
> >>"make bootstrap" in the intermediate stage), and several questions are
> >>popping
> >>up already. The first is obviously on getting cross-install working enough
> >>so
> >>that one can do a complete conversion like linuxfromscratch is trying to
> >>do
> >>(and does if you're installing it for the same architecture).
> >>But the big problem will be having 32 bits and 64 bits libraries at the
> >>same
> >>time (why? think binary drivers - nvidia, ati, etc.). The standard is to
> >>have
> >>native (64bits) libs in /lib64, and 32 bits libs in /lib. Any ideas on how
> >>can
> >>we implement this in sorcery? I know I might be asking too much, when even
> >>INSTALL_ROOT isn't honored by all spells, but one can always hope...
> >>
> >>
> >
> >We could add another optional flag to the archspecs that specifies this is
> >a
> >64-bit architecture we're compiling for.
> >
> >64BIT={on|off|true|false|} ?
> >
> >If that flag is on|true then Sorcery could (could it?) set the lib
> >directory to
> >/lib64 /usr/lib64 instead of /lib and /usr/lib, respectively. How would we
> >go
> >about adding those directories to /etc/ld.so.conf properly? Should Sorcery
> >modify that every time an architecture is chose? If you chose a 64-bit
> >arch,
> >should it change to link against the 64-bit directories, and then if you
> >change
> >to a non-64-bit use the normal directories?
> >
> >-sandalle
> >
> >
> >
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

Attachment: signature.asc
Description: This is a digitally signed message part



  • Re: [SM-Discuss] AMD64 biarch and smgl, Robin Cook, 05/03/2004

Archive powered by MHonArc 2.6.24.

Top of Page