Compiling I386 Freesco Packages

Packaging/Compiling/Client Information Forums, including Author's chit chat forum and soon others.

Postby victor32 » Thu May 10, 2007 4:37 pm

I am new to compiling packages for Freesco but I would like to try.

I want my packages to be in i386 or i486 code but the compiler defaults to create i686 binaries because my zipslack computer is i686.

I have tried the following configure directive:

# ./configure --target=i386-pc-linux ....

This is obviously not enough. Do I need to add somthing like CC_FLAGS= or more.

Could someone help me to figure out what the proper configure and make command should look like.
User avatar
victor32
Junior Member
 
Posts: 43
Joined: Sun Apr 08, 2007 1:39 pm
Location: Stockholm, Sweden

Postby dingetje » Fri May 11, 2007 2:27 am

<a href='http://sunsite.ualberta.ca/Documentation/Gnu/gcc-2.7.2.3/html_mono/gcc.html#SEC34' target='_blank'>http://sunsite.ualberta.ca/Documentation/G.../gcc.html#SEC34</a>

-m486
-m386
    Control whether or not code is optimized for a 486 instead of an 386. Code generated for an 486 will run on a 386 and vice versa.


So check the generated Makefile for -m386 and/or "hack" it into the Makefile template for the project.
GreetZ
http://dingetje.hopto.org

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1010
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands


Return to Packaging/Compiling/Client Information Forums

Who is online

Users browsing this forum: No registered users and 2 guests

cron