Skip to contentSkip to conversation

Why is UML built static all the time?

uml-devel Rob Landley 3 participants 5 messages Feb 8, 2005 – Feb 9, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Is there any easy way to get UML to do a dynamic build? I tried removing -static from the makefile, but the build broke.

I'm just trying to see how small an "allnoconfig" UML build actually is. (Well, ok, that doesn't build, but with just tt switched on...)

Rob

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 2 lines · Rob Landley

Is there any easy way to get UML to do a dynamic build? I tried removing -static from the makefile, but the build broke.

Have you enabled TT mode? IIRC, dynamic build is a Kconfig option for SKAS-only.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
Quoted 6 lines · Geert Uytterhoeven
Quoted 2 lines · Rob Landley

Is there any easy way to get UML to do a dynamic build? I tried removing -static from the makefile, but the build broke.

Have you enabled TT mode? IIRC, dynamic build is a Kconfig option for SKAS-only.

SKAS still only works with a modified host. For the project that started me baking on this, if I had the ability to specify the host kernel, I wouldn't need to wrap my script in a UML instance...

Rob

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#3 lore raw
In reply to Rob Landley
Quoted 2 lines · [email protected] said:

Is there any easy way to get UML to do a dynamic build? I tried removing -static from the makefile, but the build broke.

Turn off CONFIG_MODE_TT. The build will make a dynamic binary.

With tt mode enabled, UML must be a static binary.

Jeff

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#4 lore raw
Quoted 9 lines · Jeff Dike
Quoted 2 lines · [email protected] said:

Is there any easy way to get UML to do a dynamic build? I tried removing -static from the makefile, but the build broke.

Turn off CONFIG_MODE_TT. The build will make a dynamic binary.

With tt mode enabled, UML must be a static binary.

Jeff

Gotcha, but skas mode is useless to me until SKAS0 comes out...

Rob

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel