Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
64 bit vs. 32 bit
07-27-2006, 11:02 PM,
#12
 
I delete the file (above post)and ran SVN, seemed to work, is this OK practice.

Code:
#if env['arch'] == 'x86':
#    env.Append(CCFLAGS="-march= -mtune=generic")
if env['arch'] == 'axp':
    env.Append(CCFLAGS="-march=athlon-xp")
elif env['arch'] == 'p4':
    env.Append(CCFLAGS="-march=pentium4")
elif env['arch'] == 'a64':
    env.Append(CCFLAGS="[color=red]-m32[/color]")


running
scons arch=a64 install


returned
Code:
build/gui/textbox.o: In function `VGUI::TextBox::TextBox(VGUI::Widget*)':
textbox.cpp:(.text+0x211e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
textbox.cpp:(.text+0x2139): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
build/gui/toggle.o: In function `VGUI::Toggle::Toggle(VGUI::Widget*)':
toggle.cpp:(.text+0xb26): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)'
build/gui/toggle.o:toggle.cpp:(.text+0x1626): more undefined references to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int)' follow
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.

I think i'm missing the 32 bit somthing here, Any ideas on what? Better yet How do i track an error like this. ie how to find where "std::basic_string<char" comes from.

How would you detect deps for the target arch not "running or default" one, this could be a problem right?
Reply


Messages In This Thread
64 bit vs. 32 bit - by thelusiv - 07-25-2006, 12:57 AM
Re: 64 bit vs. 32 bit - by alex25 - 07-25-2006, 01:30 AM
[No subject] - by clytle374 - 07-25-2006, 08:39 AM
[No subject] - by thelusiv - 07-25-2006, 09:43 AM
[No subject] - by thelusiv - 07-25-2006, 01:54 PM
[No subject] - by clytle374 - 07-27-2006, 12:15 PM
[No subject] - by thelusiv - 07-27-2006, 12:20 PM
[No subject] - by clytle374 - 07-27-2006, 05:13 PM
[No subject] - by alex25 - 07-27-2006, 06:38 PM
[No subject] - by thelusiv - 07-27-2006, 07:35 PM
[No subject] - by clytle374 - 07-27-2006, 10:15 PM
[No subject] - by clytle374 - 07-27-2006, 11:02 PM
[No subject] - by thelusiv - 07-27-2006, 11:31 PM
[No subject] - by clytle374 - 07-28-2006, 12:23 AM
[No subject] - by clytle374 - 07-28-2006, 01:11 AM
[No subject] - by thelusiv - 07-28-2006, 01:24 AM
[No subject] - by clytle374 - 07-28-2006, 01:37 AM
[No subject] - by alex25 - 07-28-2006, 11:18 AM
[No subject] - by alex25 - 07-28-2006, 11:24 AM
[No subject] - by thelusiv - 07-28-2006, 12:14 PM
[No subject] - by thelusiv - 07-28-2006, 12:16 PM
[No subject] - by clytle374 - 07-29-2006, 12:17 AM
[No subject] - by thelusiv - 07-29-2006, 12:33 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-29-2006, 12:58 PM
[No subject] - by clytle374 - 07-29-2006, 03:12 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-29-2006, 08:04 PM
[No subject] - by clytle374 - 07-29-2006, 08:20 PM
[No subject] - by thelusiv - 07-29-2006, 10:36 PM
[No subject] - by clytle374 - 08-01-2006, 10:38 AM
[No subject] - by thelusiv - 08-01-2006, 12:43 PM
[No subject] - by clytle374 - 08-01-2006, 05:36 PM
[No subject] - by clytle374 - 08-03-2006, 10:12 PM
[No subject] - by thelusiv - 08-03-2006, 10:24 PM
[No subject] - by clytle374 - 08-03-2006, 10:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)