Questions tagged [i386]

Use i386 tag for questions related to 32-bit implementation of x86 ISA

The 32-bit version of x86 instruction set architecture (ISA) is now called i386, after Intel's first 32-bit processor, the 80386, which is also known as i386.

For general x86 ISA questions, which are not specific to 32/64 bits, use tag instead.

279 questions
0
votes
2 answers

Extend the witdh of base address in 386 segment selector to excess the 4GB RAM limit in 32-bit OS?

As the memory requirement grows fast, today more and more system requires 64-bit machines to access even larger RAM. FWIK in 386 protected mode, a memory pointer consists of two part: the base address (32-bit) specified by a segment selector, and…
Lenik
  • 13,946
  • 17
  • 75
  • 103
0
votes
1 answer

Symbol(s) not found for architecture i386 zbar

I can't run my application cause of this crazy error. Everything ran great before I updated from Xcode 6 to 7.
Berk Kanburlar
  • 260
  • 2
  • 11
0
votes
0 answers

How to write into console or terminal in i386 system on Qemu?

I am trying to write simple hello world program on Qemu i386 emulator system without any operating system (baremetal). Currently I am able to write into video by writing into an address within a continuous loop. u16 *const video = (u16*)…
madstr
  • 23
  • 6
0
votes
2 answers

install glibc.i386 on x64 centos 6.4

I have CentOS 6.4 x64 but I need a glibc.i386 to run the Cadence Virtuoso application. I tried yum install glibc.i386 but what I get is "No package glibc.i386 available." How can I have this package? I tried yum install glibc but I got this…
0
votes
0 answers

i386 Assembly floating exception on div instruction

I have been playing with assembly recently, and when trying to use the div instruction, I am coming across a Floating exception. I have searched online for the past day or two and nothing is working. I saw this question, and because of the answer, I…
Adam Evans
  • 2,072
  • 1
  • 20
  • 29
0
votes
2 answers

Dumped i386 assembly code and recompile as PPC?

I used the Apple built-in "otool" command with "-Vvtd" switches to dump a Mach-O i386 binary, redirected to a .s file. I have tried unsuccessfully to use nasm and GAS assemblers to recompile the code on a PPC machine ("as"-binary in the i386…
BigSum
  • 61
  • 7
0
votes
0 answers

gcc/ld script ignores the start adress of the .text section and adds a lot of junk to my binary

I am trying to build the following really small C program into a raw binary file: asm ("call sys_main\n" // Immediately run sys_main at start of code "__asm_loop_halt:\n" "jmp __asm_loop_halt\n"); // Then…
Maximilian Schier
  • 1,579
  • 14
  • 18
0
votes
2 answers

ld: symbol(s) not found for architecture i386 IOS c++

I get the following error when I try to compile for the iphone Simulator. I am trying to use websockets without boost along with cocos2d-x I added this library Poco websockets Ld…
Ansel Zandegran
  • 636
  • 8
  • 18
0
votes
1 answer

How to run i386 binary on MIPS platform?

I have an i386 binary that I would like to run on my STB with embedded linux. How to run the i386 binary (compiled on Ubuntu / compiler : i486-linux-gnu-libusb) on MIPS arch platform (set-top box)?
jc0d3r
  • 1
0
votes
1 answer

C++ unable to assign objects passed as pointer in methods to variable

I have a class named MyClass declared as follows: #pragma once class Object_Class; class MyClass { static Object_Class *object; public: static void setObject_Class(Object_Class *var); }; object is a private static variable that points to…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
0
votes
2 answers

Inline assembly in C. Wrong translation

I have this function in C: int write(int fd, char *buffer, int size) { int ret; __asm__("mov $4, %%eax;" "mov %0, %%ebx;" "mov %1, %%ecx;" "mov %2, %%edx;" "int $0x80" : "=r"(ret) …
markmb
  • 852
  • 4
  • 12
  • 32
0
votes
4 answers

Undefined symbols for architecture i386: libcurl

While i am integrating libcurl, getting the following issue. Undefined symbols for architecture i386: "_SSLClose", referenced from: _Curl_darwinssl_close in libcurl.a(libcurl_la-curl_darwinssl.o) "_SSLCopyPeerTrust", referenced from: …
arun kumar
  • 15
  • 5
0
votes
0 answers

Objective-C openCV 2.4.6 iOS framework compiler trouble

I have been successfully using OpenCV in a Universal Framework for both the simulator and a device. Now I want to create an application and include OpenCV into my application. Following are all the steps I have done. Added the opencv2.framework…
Patricia
  • 5,019
  • 14
  • 72
  • 152
0
votes
0 answers

Undefined symbols for architecture armv7 when using ZXing library in XCode 5.1

i need to scan QR Code for that i have used Zxing 3rd party library but i got following error : "undefined symbol for architecture armv7"in libZxingWidget.a Undefined symbols for architecture i386: "std::string::c_str() const", referenced from: …
Avinav
  • 1
0
votes
1 answer

printf causes EXC_BAD_ACCESS(code=EXC_I386_GPFLT) warning and freezes at runtime

I have a function composed of 3 nested for loops and an if statement, inside it i have: int buffsize = valuex*3; //int buffsize = (LEDS+1)*3; char buffer[buffsize]; init_buf(buffer, buffsize); // while(counter <= linecount){ int…
msk
  • 53
  • 2
  • 8