Compilare ReactOS

Moderators: forart, Davy Bartoloni, gabrielilardi

Post Reply
sistemaoperativo
Posts: 9
Joined: Fri Oct 20, 2006 6:16 pm

Compilare ReactOS

Post by sistemaoperativo »

Come compilo reactos con devcpp e mingw

forart
Posts: 1050
Joined: Mon Nov 29, 2004 1:36 pm
Location: Italy
Contact:

Post by forart »

Ciao siste' e benvenuto.

Trovi le istruzioni - in inglese (a tal proposito, c'è qualche anima pia che vuol tradurre ?) sul wiki, alla pagina Building ReactOS e Build Environment. :wink:

Facci sapere !!! :roll:
»Forward Agency NPO
In progress we (always) trust.

folle_invasato
Posts: 134
Joined: Thu Jan 13, 2005 9:11 pm
Location: Pordenone, Italy

Post by folle_invasato »

Io uso il seguente batch:

Code: Select all

set path=%path%;<Percorso gcc e nasmw qui>

set ROS_INTERMEDIATE=<percorso output base qui>\obj-i386-%1
set ROS_OUTPUT=<percorso output base qui>\\output-i386-%1
::set ROS_AUTOMAKE=makefile.%1.auto

copy /Y ".\config.%1.rbuild" ".\reactos\config.rbuild" 


cd reactos

::del "makefile.auto"

if EXIST "makefile-%1.auto" move /Y "makefile-%1.auto" makefile.auto

mingw32-make %2

if EXIST "makefile.auto" move /Y makefile.auto "makefile-%1.auto"

if EXIST Reactos.iso move /Y ReactOS.iso "ReactOS-%1.iso"
if EXIST Reactos-LiveCD.iso move /Y ReactOS-LiveCD.iso "ReactOS-LiveCD-%1.iso"

cd ..

e con un altro batch

Code: Select all

call build_ros debug bootcd
call build_ros debug livecd
call build_ros release bootcd
call build_ros release livecd

compilo tutti e due i cd (boot & live ) in tutte e due le versioni (debug & release )

forart
Posts: 1050
Joined: Mon Nov 29, 2004 1:36 pm
Location: Italy
Contact:

Post by forart »

folle, questo è per "buildare" il LiveCD o si può usare per tutto ?
»Forward Agency NPO
In progress we (always) trust.

folle_invasato
Posts: 134
Joined: Thu Jan 13, 2005 9:11 pm
Location: Pordenone, Italy

Post by folle_invasato »

Qualsiasi..

Nel secondo batch infatti viene usato per fare 4 builds, BootCD-Debug, LiveCD-Debug, BootCD-Retail e LiveCD-Retail...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest